server

package
v0.0.0-...-f9144f1 Latest Latest
Warning

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

Go to latest
Published: Oct 25, 2024 License: Apache-2.0 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 interface {
	GRPCServer() *grpc.Server
	Start(context.Context, *sync.WaitGroup) error
}

type ServerImpl

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

func NewServer

func NewServer(cfg *config.GRPCServerConfig) (*ServerImpl, error)

func (*ServerImpl) GRPCServer

func (s *ServerImpl) GRPCServer() *grpc.Server

func (*ServerImpl) Start

func (s *ServerImpl) Start(ctx context.Context, wg *sync.WaitGroup) error

Directories

Path Synopsis
services

Jump to

Keyboard shortcuts

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