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

Source Files