grpc

package
v0.0.0-...-755f579 Latest Latest
Warning

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

Go to latest
Published: Dec 14, 2022 License: CC0-1.0 Imports: 15 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AuthService

type AuthService interface {
	ValidateUserByChatId(ctx context.Context, chatId int) (int, error)
}

type Server

type Server struct {
	Logger *logrus.Logger
	// contains filtered or unexported fields
}

func NewServer

func NewServer(logger *logrus.Logger, auth auth.AuthServer,
	converter converter.ConverterServer, currencies currencies.CurrenciesServer,
	exchangePlot exchange_plot.ExchangePlotServer, authService AuthService) *Server

func (*Server) ListenAndServe

func (s *Server) ListenAndServe(port int) error

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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