rpc

package
v0.0.0-...-58895e1 Latest Latest
Warning

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

Go to latest
Published: Feb 9, 2017 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ZKObject

type ZKObject struct {
	Servers   []string
	Conn      *zk.Conn
	Processer ZKProcesser
}

func (*ZKObject) Close

func (obj *ZKObject) Close()

func (*ZKObject) Listen

func (obj *ZKObject) Listen(watch <-chan zk.Event)

func (*ZKObject) Run

func (obj *ZKObject) Run() error

type ZKProcesser

type ZKProcesser interface {
	Process() error
	ProcessWithEvent() error
}

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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