server

package
v0.0.0-...-5b48ee4 Latest Latest
Warning

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

Go to latest
Published: Jan 3, 2025 License: MIT Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Server

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

func BuildServer

func BuildServer(config *conf.ConsulConfig, authManager auth.AuthManager, exitChan chan error) (*Server, error)

BuildServer constructs and configures a new gRPC server with interceptors.

func (*Server) Start

func (s *Server) Start()

Start registers and starts the gRPC server

func (*Server) Stop

func (s *Server) Stop()

Stop deregisters the service and gracefully stops the gRPC server

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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