server

package
v0.0.0-...-3648d54 Latest Latest
Warning

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

Go to latest
Published: Nov 28, 2020 License: BSD-3-Clause Imports: 16 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Initialize

func Initialize(cmd *cobra.Command, args []string)

Initialize initializes the server and associated services

Types

type GRPCServer

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

GRPCServer represents GRPC server which bridge uses to handle rpc calls

func NewGRPCServer

func NewGRPCServer(lis net.Listener, serv *grpc.Server) *GRPCServer

NewGRPCServer creates a new GRPC server

func (*GRPCServer) Serve

func (s *GRPCServer) Serve() error

Serve handles serving the server

type HealthServer

type HealthServer struct{}

HealthServer contains methods which implement the grpc_health_v1 proto

func NewHealthServer

func NewHealthServer() *HealthServer

NewHealthServer creates a new HealthServer

func (HealthServer) Check

Check simply returns SERVER if the server is healthy

func (HealthServer) Watch

Watch is unimplemented

Jump to

Keyboard shortcuts

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