rpc

package
v0.0.0-...-ea3c427 Latest Latest
Warning

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

Go to latest
Published: May 26, 2015 License: MIT Imports: 10 Imported by: 0

Documentation

Index

Constants

View Source
const (
	StatusConn    = "CONN"
	StatusRead    = "READ"
	StatusWritten = "WRITTEN"
)

Variables

This section is empty.

Functions

func New

func New(bus iface.Bus) iface.Service

Types

type Config

type Config struct {
	Addr string
}

type RPC

type RPC struct {
	*rpc.Server
	// contains filtered or unexported fields
}

func (*RPC) Close

func (srv *RPC) Close() error

func (*RPC) Config

func (srv *RPC) Config(config interface{}) (err error)

func (*RPC) ETime

func (srv *RPC) ETime() time.Time

func (*RPC) Serve

func (srv *RPC) Serve() error

Jump to

Keyboard shortcuts

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