grpc

package
v0.0.0-...-730ab85 Latest Latest
Warning

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

Go to latest
Published: Nov 10, 2020 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

Types

type Server

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

func (*Server) GetOption

func (svr *Server) GetOption() api.Option

func (*Server) GracefulStop

func (svr *Server) GracefulStop(ctx context.Context) error

func (*Server) Handler

func (svr *Server) Handler(handler api.Handler) error

func (*Server) Init

func (svr *Server) Init() error

func (*Server) Start

func (svr *Server) Start() error

func (*Server) Stop

func (svr *Server) Stop() error

Jump to

Keyboard shortcuts

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