svc

package
v0.1.3 Latest Latest
Warning

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

Go to latest
Published: Aug 18, 2022 License: MIT Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ServiceContext

type ServiceContext struct {
	AnswerClient *answer.Client
	StoreClient  *store.Client
	GroupClient  *group.Client
	DeviceClient *device.Client
	// contains filtered or unexported fields
}

ServiceContext 服务上下文

func NewServiceContext

func NewServiceContext(c config.Config) *ServiceContext

func (*ServiceContext) Config

func (sc *ServiceContext) Config() config.Config

Config 获取全局配置

Jump to

Keyboard shortcuts

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