client

package
v0.2.0 Latest Latest
Warning

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

Go to latest
Published: Dec 23, 2023 License: MIT Imports: 6 Imported by: 0

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)

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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