Versions in this module Expand all Collapse all v0 v0.25.0 Sep 12, 2019 v0.24.0 Jul 16, 2019 Changes in this version + var ErrAgentAlreadyAllocated = errors.New("agent already allocated for this uuid") + type Agent struct + Addr string + Conn *net.UDPConn + FlowTable *flow.Table + Port int + UUID string + UUIDs flow.UUIDs + func NewAgent(u string, conn *net.UDPConn, addr string, port int, ft *flow.Table, ...) *Agent + func (nfa *Agent) GetTarget() string + func (nfa *Agent) Start() + func (nfa *Agent) Stop() + type AgentAllocator struct + func NewAgentAllocator() (*AgentAllocator, error) + func (a *AgentAllocator) Alloc(uuid string, ft *flow.Table, addr *common.ServiceAddress, uuids flow.UUIDs) (agent *Agent, _ error) + func (a *AgentAllocator) Release(uuid string) + func (a *AgentAllocator) ReleaseAll()