options

package
v0.1.3 Latest Latest
Warning

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

Go to latest
Published: Nov 9, 2022 License: MIT Imports: 29 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var Application = wire.NewSet(
	NewConfig,
)

Application 人脸驱动服务应用层

WebHandler is a Wire provider set that includes all Services interface implementations. 人脸驱动服务接口层

Functions

func NewConfig

func NewConfig(v *viper.Viper) (c *configpb.Configuration, err error)

NewConfig 根据全局配置加载服务配置选项

func NewEnv

func NewEnv(ctx context.Context, config *configpb.Configuration) (_ *_env, err error)

NewEnv 根据服务设置环境变量

func NewFileCleaner

func NewFileCleaner(ctx context.Context, config *configpb.Configuration) (_ *_fileCleaner, err error)

func NewGC

func NewGC(ctx context.Context, config *configpb.Configuration) (_ *_gc, err error)

func NewLog

func NewLog(ctx context.Context, cfg *configpb.Configuration) (_ *_log, err error)

func NewWebServer

func NewWebServer(ctx context.Context, cfg *configpb.Configuration) (ws *webserver.WebServer, err error)

func RunServer

func RunServer(ctx context.Context) (*_RunningServer, func(), error)

RunServer 人脸驱动应用

Types

This section is empty.

Jump to

Keyboard shortcuts

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