grpc

package
v0.2.1 Latest Latest
Warning

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

Go to latest
Published: Oct 21, 2024 License: MIT Imports: 10 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
}

func NewServer

func NewServer() *Server

func (*Server) RegisterService

func (s *Server) RegisterService(service *grpc.ServiceDesc, impl interface{})

func (*Server) Start

func (s *Server) Start(address string)

Start starts the gRPC server, listening on the provided address

func (*Server) Stop

func (s *Server) Stop()

Stop gracefully shuts down the gRPC server

Jump to

Keyboard shortcuts

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