grpc

package
v1.0.1 Latest Latest
Warning

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

Go to latest
Published: Mar 8, 2023 License: MIT Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func LoggerInterceptor

func LoggerInterceptor(logger logger.Logger) grpc.UnaryServerInterceptor

Types

type Server

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

func (Server) Init

func (s Server) Init(config *server.Config, logger logger.Logger) server.Server

func (Server) Start

func (s Server) Start(ctx context.Context) error

func (Server) Stop

func (s Server) Stop(_ context.Context) error

Jump to

Keyboard shortcuts

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