flcliapi

package
Version: v0.0.0-...-fd4faf2 Latest Latest
Warning

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

Go to latest
Published: May 11, 2016 License: BSD-2-Clause, MIT Imports: 4 Imported by: 0

Documentation

Overview

flcliapi - Freelance Pattern agent class.

Implements the Freelance Protocol at http://rfc.zeromq.org/spec:10.

Index

Constants

View Source
const (
	//  If no server replies within this time, abandon request
	GLOBAL_TIMEOUT = 3000 * time.Millisecond
	//  PING interval for servers we think are alive
	PING_INTERVAL = 2000 * time.Millisecond
	//  Server considered dead if silent for this long
	SERVER_TTL = 6000 * time.Millisecond
)

Variables

This section is empty.

Functions

This section is empty.

Types

type Flcliapi

type Flcliapi struct {
	// contains filtered or unexported fields
}

func New

func New() (flcliapi *Flcliapi)

func (*Flcliapi) Connect

func (flcliapi *Flcliapi) Connect(endpoint string)

func (*Flcliapi) Request

func (flcliapi *Flcliapi) Request(request []string) (reply []string, err error)

Source Files

Jump to

Keyboard shortcuts

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