sdk

package
v0.7.0 Latest Latest
Warning

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

Go to latest
Published: Nov 19, 2018 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

View Source
const (
	HAS_STARTED     = "SDK gRPC Server has already started."
	ALREADY_STOPPED = "SDK gRPC Server already stopped."
)

Error messages

Variables

This section is empty.

Functions

This section is empty.

Types

type Server

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

implements common.Service

func NewServer

func NewServer(port int, sdkServer pb.SDKServer) (*Server, error)

func (*Server) IsRunning

func (s *Server) IsRunning() bool

func (*Server) OnReset

func (s *Server) OnReset() error

func (*Server) OnStart

func (s *Server) OnStart() error

func (*Server) OnStop

func (s *Server) OnStop()

func (*Server) Quit

func (s *Server) Quit() <-chan struct{}

func (*Server) Reset

func (s *Server) Reset() error

func (*Server) SetLogger

func (s *Server) SetLogger(l log.Logger)

func (*Server) Start

func (s *Server) Start() error

func (*Server) Stop

func (s *Server) Stop() error

func (*Server) String

func (s *Server) String() string

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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