client

package
v0.3.2 Latest Latest
Warning

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

Go to latest
Published: May 11, 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

func Reader(r io.Reader) interface{}

Types

type UnixSocketClient

type UnixSocketClient struct {
	// contains filtered or unexported fields
}

func NewUnixSocketClient

func NewUnixSocketClient(runtimeConfig *config.RuntimeConfig) UnixSocketClient

func (UnixSocketClient) Connect

func (client UnixSocketClient) Connect() (UnixSocketConnection, error)

func (UnixSocketClient) SendToAgent

func (client UnixSocketClient) SendToAgent(request interface{}) (interface{}, error)

type UnixSocketConnection

type UnixSocketConnection struct {
	// contains filtered or unexported fields
}

func (UnixSocketConnection) Close

func (conn UnixSocketConnection) Close()

func (UnixSocketConnection) ReadMessage

func (conn UnixSocketConnection) ReadMessage() interface{}

func (UnixSocketConnection) SendCommand

func (conn UnixSocketConnection) SendCommand(request interface{}) (interface{}, error)

func (UnixSocketConnection) WriteMessage

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