This repository has been archived on 2026-07-29. You can view files and clone it. You cannot open issues or pull requests or push a commit.
Files
GoEdgeCommon/pkg/serverconfigs/scheduling_config.go
T
2020-09-13 19:27:47 +08:00

15 lines
333 B
Go

package serverconfigs
import "github.com/iwind/TeaGo/maps"
// 调度算法配置
type SchedulingConfig struct {
Code string `yaml:"code" json:"code"` // 类型
Options maps.Map `yaml:"options" json:"options"` // 选项
}
// 获取新对象
func NewSchedulingConfig() *SchedulingConfig {
return &SchedulingConfig{}
}