Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ByPriority ¶
type ByPriority []AutoStart
func (ByPriority) Len ¶
func (a ByPriority) Len() int
func (ByPriority) Less ¶
func (a ByPriority) Less(i, j int) bool
func (ByPriority) Swap ¶
func (a ByPriority) Swap(i, j int)
type Plugin ¶
type Plugin struct {
Name string `json:"name"`
Desc string `json:"desc"`
Maintainer string `json:"maintainer"`
Homepage string `json:"homepage"`
Version utils.SemanticVersion `json:"version"`
EnterPoint string `json:"enter_point"`
Enable bool `json:"enable"`
InstallDir string `json:"install_dir"`
WebsDir string `json:"webs_dir"`
CoverFile string `json:"cover"`
InstallTime time.Time `json:"install_time"`
UpdateTime time.Time `json:"update_time"`
}
type ProcessOption ¶
type ProcessOption uint32
const ( None = 0 AutoRestart ProcessOption = 1 << iota HookLog )
func ParseOption ¶
func ParseOption(option string) (ret ProcessOption, err error)
func (ProcessOption) MarshalJSON ¶
func (option ProcessOption) MarshalJSON() ([]byte, error)
func (*ProcessOption) Scan ¶
func (option *ProcessOption) Scan(value interface{}) (err error)
func (ProcessOption) String ¶
func (option ProcessOption) String() (ret string)
type ProcessParam ¶
Click to show internal directories.
Click to hide internal directories.