server

package
v0.9.1 Latest Latest
Warning

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

Go to latest
Published: Aug 29, 2023 License: MIT Imports: 25 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Server added in v0.4.0

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

func New added in v0.4.0

func New(ctx context.Context, cfg config.Config) (*Server, error)

func (*Server) Close added in v0.4.0

func (s *Server) Close() error

func (*Server) GrpcAddr added in v0.6.4

func (s *Server) GrpcAddr() net.Addr

GrpcAddr returns the address that server is listening on for GRPC.

func (*Server) GrpcRestProxyAddr added in v0.6.4

func (s *Server) GrpcRestProxyAddr() net.Addr

GrpcRestProxyAddr returns the address that REST-GRPC proxy is listening on.

func (*Server) Start added in v0.4.0

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

Start starts the RPC server.

Jump to

Keyboard shortcuts

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