grpc

package
v0.0.0-...-a83c1e6 Latest Latest
Warning

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

Go to latest
Published: Nov 22, 2024 License: Apache-2.0 Imports: 13 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type GrpcServer

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

GrpcServer represents a gRPC servers

func NewGRPCServer

func NewGRPCServer(cfg *config.Config, coreService *core.Core) *GrpcServer

NewGRPCServer initializes and returns a gRPC servers

func (*GrpcServer) ListenAndServe

func (s *GrpcServer) ListenAndServe() error

ListenAndServe starts the grpc server

func (*GrpcServer) Shutdown

func (s *GrpcServer) Shutdown()

Shutdown stops the grpc server

Jump to

Keyboard shortcuts

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