rpc

package
v0.8.6 Latest Latest
Warning

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

Go to latest
Published: Apr 9, 2020 License: Apache-2.0 Imports: 13 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Service

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

func New

func New(id string, tm time.Duration, ac action, db state.DB, cleanStart bool, r rpcCli,
	api api, j jober, stateCh chan<- []byte, requestsCh <-chan []byte) (Service, error)

func (Service) Call

func (s Service) Call(name string, payload []byte) []byte

func (Service) GetEdgeID added in v0.4.2

func (s Service) GetEdgeID() string

Jump to

Keyboard shortcuts

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