Versions in this module Expand all Collapse all v0 v0.1.1 Jan 27, 2020 v0.1.0 Oct 14, 2019 Changes in this version + var ErrServerClosed = errors.New("agent: Server closed") + type Agent struct + func NewAgent(options *config.Options) *Agent + func (a *Agent) ListenAndServe() error + func (a *Agent) RegisterOnShutdown(f func()) + func (a *Agent) Shutdown() error