dtfdef

package
v1.0.1 Latest Latest
Warning

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

Go to latest
Published: Jan 31, 2024 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ServiceConfig

type ServiceConfig struct {
	PrestopDuration          time.Duration
	MySQLServer              extconfig.MySQLAddress
	RedisServer              extconfig.RedisAddress
	MongoServer              extconfig.MongoAddress
	ExecutorService          taskmodel.ExecutorInvoker
	CollectorService         taskmodel.CollectorInvoker
	ExecutorHandlerRegister  taskmodel.RegisterExecutorRequestHandler
	CollectorHandlerRegister taskmodel.RegisterCollectorRequestHandler
}

服务配置

type ServiceRole

type ServiceRole uint32

服务角色,指定不同的服务类型

const (
	ServiceRole_Manager   ServiceRole = 1
	ServiceRole_Generator ServiceRole = 2
	ServiceRole_Scheduler ServiceRole = 3
	ServiceRole_Executor  ServiceRole = 4
	ServiceRole_Collector ServiceRole = 5
)

Jump to

Keyboard shortcuts

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