server

package
v1.0.56 Latest Latest
Warning

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

Go to latest
Published: Feb 29, 2024 License: MIT Imports: 20 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

ProviderSet is server providers.

Functions

func NewGRPCServer

func NewGRPCServer(c *conf.Server,
	configurationService *service.ConfigurationService,
	logger log.Logger) *grpc.Server

NewGRPCServer new a gRPC server.

func NewHTTPServer

func NewHTTPServer(c *conf.Server,
	configurationService *service.ConfigurationService,
	systemService *service.SystemService,
	fileService *service.FileService,
	appServiceService *service.ProductService,
	sshService *service.WebSSHService,
	serverService *service.ServerService,
	authRepo auth.AuthRepo,
	logger *zap.Logger) *http.Server

NewHTTPServer new an HTTP server.

Types

This section is empty.

Jump to

Keyboard shortcuts

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