grpc

package
v0.0.0-...-241bfea Latest Latest
Warning

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

Go to latest
Published: Jun 10, 2024 License: MIT Imports: 24 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func InterceptorLogger

func InterceptorLogger(l *slog.Logger) logging.Logger

InterceptorLogger adapts slog logger to interceptor logger

Types

type App

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

func NewApp

func NewApp(log *slog.Logger, port int, database *postgres.Database) *App

func (*App) Run

func (a *App) Run() error

Run starts gRPC server

func (*App) Stop

func (a *App) Stop()

Stop stops gRPC server

Jump to

Keyboard shortcuts

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