Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Command ¶
func NewCommand ¶
func NewCommand() Command
type CommandImpl ¶
type CommandImpl struct{}
func (*CommandImpl) IsShutdownCommandExecutable ¶
func (c *CommandImpl) IsShutdownCommandExecutable() bool
func (*CommandImpl) Reboot ¶
func (c *CommandImpl) Reboot() error
func (*CommandImpl) Shutdown ¶
func (c *CommandImpl) Shutdown() error
type Syscall ¶
func NewSyscall ¶
func NewSyscall() Syscall
type SyscallImpl ¶
type SyscallImpl struct{}
func (SyscallImpl) Reboot ¶
func (s SyscallImpl) Reboot() error
func (SyscallImpl) Shutdown ¶
func (s SyscallImpl) Shutdown() error
Click to show internal directories.
Click to hide internal directories.