server

package
v0.0.0-...-c16f518 Latest Latest
Warning

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

Go to latest
Published: Jan 16, 2024 License: MIT Imports: 15 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 {
	Start(ctx context.Context) error
	Close()
}

func New

func New(
	cfg config.Server,
	pg postgres.DBEngine,
	grpcServer *grpc.Server,
	_ service.Service,
) Server

func NewServerEngine

func NewServerEngine(cfg config.Server, pg postgres.DBEngine, grpcServer *grpc.Server) Server

Jump to

Keyboard shortcuts

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