client

package
v0.2.14 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 28, 2024 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

View Source
const READ_BUFFER = 4 * 1024 * 1024 // 16MB

Variables

This section is empty.

Functions

func Reader added in v0.2.11

func Reader(r io.Reader) interface{}

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

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL