Documentation
¶
Index ¶
Constants ¶
View Source
const ( Task CommandType = "Task" Sys = "Sys" MMDB = "MMDB" Cron = "Cron" Proxy = "Proxy" Startup = "Startup" Auto = "Auto" OnName = "ON" OffName = "OFF" ON Type = 0 OFF Type = 1 Invalid Type = -1 )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CommandType ¶
type CommandType string
func (CommandType) GetName ¶
func (t CommandType) GetName() string
func (CommandType) IsValid ¶
func (t CommandType) IsValid(value GeneralType) bool
type GeneralType ¶
type GeneralType interface {
String() string
GetCommandType() CommandType
GetDefault() GeneralType
IsON() bool
}
type Type ¶
type Type int8
func (Type) GetCommandType ¶
func (t Type) GetCommandType() CommandType
GetCommandType implements cmd.GeneralType
func (Type) GetDefault ¶
func (t Type) GetDefault() GeneralType
GetDefault implements cmd.GeneralType
Click to show internal directories.
Click to hide internal directories.