server

package
v0.0.0-...-464103a Latest Latest
Warning

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

Go to latest
Published: May 6, 2021 License: BSD-3-Clause Imports: 15 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 ...

func InitializeGrpcServer

func InitializeGrpcServer(l envconfig.Lookuper) (*GrpcServer, error)

InitializeGrpcServer ...

func NewGrpcServer

func NewGrpcServer(
	config *proto.GrpcServerConfig,
	healthRegistry *impl.HealthRegistry,
	configServer *impl.ConfigServer,
) *GrpcServer

NewGrpcServer ...

func (*GrpcServer) ActivePort

func (s *GrpcServer) ActivePort() int

ActivePort ... Returns the port on which the server is actively listening. This is useful as the server is capable or using a randomly assigned port.

func (*GrpcServer) Shutdown

func (s *GrpcServer) Shutdown()

Shutdown ...

func (*GrpcServer) Start

func (s *GrpcServer) Start()

Start ...

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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