server

package
v0.0.0-...-6fd7e0b Latest Latest
Warning

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

Go to latest
Published: Sep 29, 2023 License: MIT Imports: 14 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

ProviderSet is server providers.

Functions

func NewGRPCServer

func NewGRPCServer(c *conf.Server, greeter *service.BlogAdminUserService, logger log.Logger) *grpc.Server

NewGRPCServer new a gRPC server. gRPC 示例,本项目暂未使用

func NewHTTPServer

func NewHTTPServer(c *conf.Server, authConf *conf.Auth, casbinData *db.CasbinData,
	userService *service.BlogAdminUserService,
	webService *service.BlogWebApiService,
	logger log.Logger) *http.Server

NewHTTPServer new a HTTP server.

func NewQyCronJob

func NewQyCronJob(logger log.Logger, cjs *job.CronJobServer) *job.QyCronJob

Types

This section is empty.

Jump to

Keyboard shortcuts

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