grpc

package
v0.10.1 Latest Latest
Warning

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

Go to latest
Published: Jun 14, 2019 License: Apache-2.0 Imports: 17 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Server

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

Server contains the server config.

func New

func New(address string, sdk *sdk.SDK) *Server

New returns a new gRPC server.

func (*Server) Close

func (s *Server) Close()

Close gracefully closes the server.

func (*Server) Serve

func (s *Server) Serve() error

Serve starts the server and listens for client connections.

type ServiceServer

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

ServiceServer is the type to aggregate all Service APIs.

func NewServiceServer

func NewServiceServer(sdk *sdk.SDK) *ServiceServer

NewServiceServer creates a new ServiceServer.

func (*ServiceServer) Create

Create creates a new service from definition.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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