Documentation
¶
Index ¶
- type PingCommand
- func (pc *PingCommand) CommandName() string
- func (pc *PingCommand) Ping() ([]byte, error)
- func (pc *PingCommand) Response() []byte
- func (pc *PingCommand) Run() error
- func (pc *PingCommand) ServerDetails() (*config.ServerDetails, error)
- func (pc *PingCommand) SetServerDetails(serverDetails *config.ServerDetails) *PingCommand
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type PingCommand ¶
type PingCommand struct {
// contains filtered or unexported fields
}
func NewPingCommand ¶
func NewPingCommand() *PingCommand
func (*PingCommand) CommandName ¶
func (pc *PingCommand) CommandName() string
func (*PingCommand) Ping ¶
func (pc *PingCommand) Ping() ([]byte, error)
func (*PingCommand) Response ¶
func (pc *PingCommand) Response() []byte
func (*PingCommand) Run ¶
func (pc *PingCommand) Run() error
func (*PingCommand) ServerDetails ¶
func (pc *PingCommand) ServerDetails() (*config.ServerDetails, error)
func (*PingCommand) SetServerDetails ¶
func (pc *PingCommand) SetServerDetails(serverDetails *config.ServerDetails) *PingCommand
Click to show internal directories.
Click to hide internal directories.