cleanup: rename package and vendor dependencies for old go versions

Fixes #8 and begins to address deployability.
This commit is contained in:
George Tankersley
2019-01-03 19:12:46 +00:00
parent 7d7390eeae
commit 7726a6752d
585 changed files with 513299 additions and 33 deletions

44
vendor/github.com/pebbe/zmq4/ctxoptions_windows.go generated vendored Normal file
View File

@@ -0,0 +1,44 @@
// +build windows
package zmq4
/*
Sets the scheduling policy for internal contexts thread pool.
This option requires ZeroMQ version 4.1, and is not available on Windows.
Supported values for this option can be found in sched.h file, or at
http://man7.org/linux/man-pages/man2/sched_setscheduler.2.html
This option only applies before creating any sockets on the context.
Default value: -1
Returns ErrorNotImplemented41 with ZeroMQ version < 4.1
Returns ErrorNotImplementedWindows on Windows
*/
func (ctx *Context) SetThreadSchedPolicy(n int) error {
return ErrorNotImplementedWindows
}
/*
Sets scheduling priority for internal contexts thread pool.
This option requires ZeroMQ version 4.1, and is not available on Windows.
Supported values for this option depend on chosen scheduling policy.
Details can be found in sched.h file, or at
http://man7.org/linux/man-pages/man2/sched_setscheduler.2.html
This option only applies before creating any sockets on the context.
Default value: -1
Returns ErrorNotImplemented41 with ZeroMQ version < 4.1
Returns ErrorNotImplementedWindows on Windows
*/
func (ctx *Context) SetThreadPriority(n int) error {
return ErrorNotImplementedWindows
}