Documentation ¶
Index ¶
Constants ¶
View Source
const READ_BUFFER = 1 * 1024 * 1024 // 1MB
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Client ¶ added in v0.1.4
type Client interface {
SendToAgent(request interface{}) (interface{}, error)
}
type UnixSocketClient ¶ added in v0.1.4
type UnixSocketClient struct { }
func NewUnixSocketClient ¶ added in v0.1.4
func NewUnixSocketClient() UnixSocketClient
func (UnixSocketClient) SendToAgent ¶ added in v0.1.4
func (client UnixSocketClient) SendToAgent(request interface{}) (interface{}, error)
type VirtualClient ¶ added in v0.1.4
type VirtualClient struct {
// contains filtered or unexported fields
}
func NewVirtualClient ¶ added in v0.1.4
func NewVirtualClient(recv chan []byte, send chan []byte) VirtualClient
func (VirtualClient) SendToAgent ¶ added in v0.1.4
func (client VirtualClient) SendToAgent(request interface{}) (interface{}, error)
Click to show internal directories.
Click to hide internal directories.