server

package
v0.0.0-...-1b39580 Latest Latest
Warning

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

Go to latest
Published: Oct 5, 2023 License: MIT Imports: 35 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewContextCancellableByOsSignals

func NewContextCancellableByOsSignals(parent context.Context) context.Context

Types

type GRPC

type GRPC struct {
	pb.UnimplementedAuthServiceServer
	pb.UnimplementedUserServiceServer
	// contains filtered or unexported fields
}

func NewGrpcServer

func NewGrpcServer(config grpc_config.Config,
	probesCfg probes.Config,
	userService services.UserService) (*GRPC, error)

func (GRPC) Run

func (s GRPC) Run(l *logger.Logger)

type Server

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

func NewGRPC

func NewGRPC(cfg *config.Config, log *logger.Logger) *Server

func (*Server) Run

func (srv *Server) Run() error

Jump to

Keyboard shortcuts

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