Documentation ¶
Index ¶
Constants ¶
View Source
const READ_BUFFER = 4 * 1024 * 1024 // 16MB
Variables ¶
This section is empty.
Functions ¶
Types ¶
type UnixSocketClient ¶ added in v0.1.4
type UnixSocketClient struct {
// contains filtered or unexported fields
}
func NewUnixSocketClient ¶ added in v0.1.4
func NewUnixSocketClient(runtimeConfig *config.RuntimeConfig) UnixSocketClient
func (UnixSocketClient) Connect ¶ added in v0.2.11
func (client UnixSocketClient) Connect() (UnixSocketConnection, error)
func (UnixSocketClient) SendToAgent ¶ added in v0.1.4
func (client UnixSocketClient) SendToAgent(request interface{}) (interface{}, error)
type UnixSocketConnection ¶ added in v0.2.11
type UnixSocketConnection struct {
// contains filtered or unexported fields
}
func (UnixSocketConnection) Close ¶ added in v0.2.11
func (conn UnixSocketConnection) Close()
func (UnixSocketConnection) ReadMessage ¶ added in v0.2.11
func (conn UnixSocketConnection) ReadMessage() interface{}
func (UnixSocketConnection) SendCommand ¶ added in v0.2.11
func (conn UnixSocketConnection) SendCommand(request interface{}) (interface{}, error)
func (UnixSocketConnection) WriteMessage ¶ added in v0.2.11
func (conn UnixSocketConnection) WriteMessage(message interface{}) error
Click to show internal directories.
Click to hide internal directories.