Documentation ¶
Index ¶
Constants ¶
View Source
const DisplaySubscriptions = 1
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Engine ¶ added in v0.1.1
type Engine struct { Host string Port int HttpClient *http.Client Uri string Conns int SortOpt server.SortOpt Delay int DisplaySubs bool StatsCh chan *Stats ShutdownCh chan struct{} LastStats *Stats LastPollTime time.Time ShowRates bool LastConnz map[uint64]*server.ConnInfo }
func (*Engine) FetchStatsSnapshot ¶ added in v0.5.0
func (*Engine) MonitorStats ¶ added in v0.1.1
MonitorStats is ran as a goroutine and takes options which can modify how poll values then sends to channel.
func (*Engine) Request ¶ added in v0.1.1
Request takes a path and options, and returns a Stats struct with with either connz or varz
Click to show internal directories.
Click to hide internal directories.