Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type HAProxyClient ¶
type HAProxyClient struct {
// contains filtered or unexported fields
}
func NewClient ¶
func NewClient(pathToSocket string) *HAProxyClient
func (*HAProxyClient) Rpc ¶
func (client *HAProxyClient) Rpc(command string) (*HAProxyReply, error)
type HAProxyReply ¶
type HAProxyReply struct {
Message string
}
type HAProxyRequest ¶
type HAProxyRequest struct {
Command string
}
func NewRequest ¶
func NewRequest(command string) (*HAProxyRequest, error)
Click to show internal directories.
Click to hide internal directories.