agent

package
v0.0.0-...-89e0d77 Latest Latest
Warning

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

Go to latest
Published: Nov 6, 2019 License: Apache-2.0 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 interface {
	// Start does all things necessary to start an agent
	Start() func() error
	// Stop is doing all things necessary to nicely stop an agent
	Stop() error
}

Agent describes the interface to a Voskhod Agent

func New

func New(ctx context.Context, cfg *config.Config) Agent

New is returning a new agent

type Signal

type Signal int

Signal is the channel to control the Voskhod Agent

Jump to

Keyboard shortcuts

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