Module stun::agent [−][src]
Structs
Agent is low-level abstraction over transaction list that handles concurrency (all calls are goroutine-safe) and time outs (via Collect call).
Event is passed to Handler describing the transaction event. Do not reuse outside Handler.
Enums
ClientAgent is Agent implementation that is used by Client to process transactions.
Functions
noop_handler just discards any event.
Type Definitions
Handler handles state changes of transaction. Handler is called on transaction state change. Usage of e is valid only during call, user must copy needed fields explicitly.