Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Agent

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

    Agent runs jobs locally.

    func New

    func New(agentID int64, conn *grpc.ClientConn) *Agent

      New prepares a new agent.

      func (*Agent) Run

      func (a *Agent) Run() error

        Run reacts to requests from the server, in absence of work, it return pings.

        Source Files