agent

package
Version: v0.11.0 Latest Latest
Warning

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

Go to latest
Published: Jun 23, 2021 License: MIT Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Agent

type Agent struct {
	MaxEvents int
	// contains filtered or unexported fields
}

func New

func New() (a *Agent)

func (*Agent) Listen

func (a *Agent) Listen(l net.Listener) (err error)

func (*Agent) ListenPacket

func (a *Agent) ListenPacket(p net.PacketConn) error

func (*Agent) ServeConn

func (a *Agent) ServeConn(c net.Conn) (err error)

func (*Agent) Subscribe

func (a *Agent) Subscribe(ctx context.Context, c io.Writer, n int, follow, addlabels bool) (err error)

func (*Agent) Writer

func (a *Agent) Writer(addr net.Addr) (c *connWriter)

type Conn

type Conn struct {
	io.Reader
	io.Writer
	io.Closer
}

Source Files

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
t or T : Toggle theme light dark auto
y or Y : Canonical URL