grpcserv

package
v0.0.0-...-b34fa9a Latest Latest
Warning

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

Go to latest
Published: Jan 22, 2022 License: MIT Imports: 11 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 {
	// contains filtered or unexported fields
}

Server is a gRPC server

func New

func New(watcher *watchdog.Client, port int) *Server

New returns a new instance of Server

func (*Server) Registrar

func (s *Server) Registrar() grpc.ServiceRegistrar

Registrar returns the grpc.ServiceRegistrar

func (*Server) Start

func (s *Server) Start(ctx context.Context) error

Start starts the gRPC server

Jump to

Keyboard shortcuts

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