grpc

package
v0.9.1 Latest Latest
Warning

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

Go to latest
Published: May 29, 2019 License: Apache-2.0 Imports: 14 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 added in v0.4.0

func New(address string, api *api.API) *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.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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