Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ApcHost ¶
type ApcHost struct { IpAddress string Name string NetworkSamplePeriod time.Duration GraphingSamplePeriod time.Duration Enabled bool TrayIcon bool State string }
func NewApcHost ¶
type ChannelTuple ¶
func NewChannelTuple ¶
func NewChannelTuple(depth int) *ChannelTuple
func (*ChannelTuple) Close ¶
func (ct *ChannelTuple) Close()
type GraphAverage ¶ added in v0.9.3
type GraphAverage struct {
// contains filtered or unexported fields
}
func NewGraphAverage ¶ added in v0.9.3
func NewGraphAverage(hostName, pointName string, graphPeriod time.Duration) *GraphAverage
NewGraphAverage create a data queue of graphPeriod depth returns the straight average of the queue,
func (*GraphAverage) AddValue ¶ added in v0.9.3
func (g *GraphAverage) AddValue(value float64) float64
AddValue adds the given float32 value into the queue and return the average value of the queue value queue's size is limited by graph period config value
func (*GraphAverage) IsNil ¶ added in v0.9.3
func (g *GraphAverage) IsNil() bool
func (*GraphAverage) SeriesName ¶ added in v0.9.3
func (g *GraphAverage) SeriesName() string
func (*GraphAverage) String ¶ added in v0.9.3
func (g *GraphAverage) String() string
Click to show internal directories.
Click to hide internal directories.