tris

package
v0.0.0-...-121a05b Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Feb 28, 2014 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CopyFile

func CopyFile(src string, dst string) error

func PathExists

func PathExists(path string) (bool, error)

func ReadUvarint

func ReadUvarint(r io.ByteReader) (uint64, int, error)

func ReadVarint

func ReadVarint(r io.ByteReader) (int64, int, error)

Types

type ZmqSocketPool

type ZmqSocketPool struct {
	Ctx        *zmq.Context
	Pool       chan *zmq.Socket
	SocketType zmq.SocketType
	PoolSize   int
}

func InitializeZmqSocketPool

func InitializeZmqSocketPool(sType zmq.SocketType, connCount int) (p *ZmqSocketPool, err error)

func (*ZmqSocketPool) Get

func (p *ZmqSocketPool) Get() (s *zmq.Socket, err error)

func (*ZmqSocketPool) Release

func (p *ZmqSocketPool) Release() (err error)

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL