Documentation ¶
Overview ¶
Package shutdowntype
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( Remove = ShutdownType{"remove"} Restart = ShutdownType{"restart"} )
Functions ¶
This section is empty.
Types ¶
type ShutdownType ¶
type ShutdownType struct {
Name string
}
func (ShutdownType) MarshalText ¶
func (s ShutdownType) MarshalText() (text []byte, err error)
func (ShutdownType) String ¶
func (s ShutdownType) String() string
func (*ShutdownType) UnmarshalText ¶
func (s *ShutdownType) UnmarshalText(text []byte) error
Click to show internal directories.
Click to hide internal directories.