agent

package
v0.0.0-...-4413804 Latest Latest
Warning

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

Go to latest
Published: Sep 14, 2015 License: Apache-2.0 Imports: 15 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AgentServer

type AgentServer struct {
	Port int
	// contains filtered or unexported fields
}

func NewAgentServer

func NewAgentServer(dir string, port int, leader string) *AgentServer

func (*AgentServer) Init

func (r *AgentServer) Init() (err error)

Start starts to listen on a port, returning the listening port r.Port can be pre-set or leave it as zero The actual port set to r.Port

func (*AgentServer) Run

func (as *AgentServer) Run()

func (*AgentServer) Stop

func (r *AgentServer) Stop()

type LiveDataStore

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

func NewLiveDataStore

func NewLiveDataStore(s store.DataStore) *LiveDataStore

func (*LiveDataStore) Destroy

func (ds *LiveDataStore) Destroy()

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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