Documentation
¶
Index ¶
- type ProbeStatus
- type ProbesStatus
- func (ps *ProbesStatus) ConvertToInt(i *float64) int
- func (ps *ProbesStatus) FormattedHttpBody(body *[]byte) string
- func (ps *ProbesStatus) FormattedHttpHeaders(h http.Header) template.HTML
- func (ps *ProbesStatus) FormattedTime(t *int64) time.Time
- func (ps *ProbesStatus) ReadProbeStatus(pn string) *ProbeStatus
- func (ps *ProbesStatus) WriteProbeErrorStatus(pn string, st int64, et int64)
- func (ps *ProbesStatus) WriteProbeStatus(pn string, pd *modules.ProbeData, st int64, et int64)
- func (ps *ProbesStatus) WriteProbeTimeoutStatus(pn string, st int64, et int64)
- type TemplateParams
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ProbeStatus ¶
type ProbesStatus ¶
type ProbesStatus struct {
Tmpl TemplateParams
Probes []string
ProbeStatusMap map[string]*ProbeStatus
// contains filtered or unexported fields
}
func NewProbesStatus ¶
func NewProbesStatus(p []string) *ProbesStatus
func (*ProbesStatus) ConvertToInt ¶
func (ps *ProbesStatus) ConvertToInt(i *float64) int
func (*ProbesStatus) FormattedHttpBody ¶
func (ps *ProbesStatus) FormattedHttpBody(body *[]byte) string
func (*ProbesStatus) FormattedHttpHeaders ¶
func (ps *ProbesStatus) FormattedHttpHeaders(h http.Header) template.HTML
func (*ProbesStatus) FormattedTime ¶
func (ps *ProbesStatus) FormattedTime(t *int64) time.Time
func (*ProbesStatus) ReadProbeStatus ¶
func (ps *ProbesStatus) ReadProbeStatus(pn string) *ProbeStatus
func (*ProbesStatus) WriteProbeErrorStatus ¶
func (ps *ProbesStatus) WriteProbeErrorStatus(pn string, st int64, et int64)
func (*ProbesStatus) WriteProbeStatus ¶
func (*ProbesStatus) WriteProbeTimeoutStatus ¶
func (ps *ProbesStatus) WriteProbeTimeoutStatus(pn string, st int64, et int64)
type TemplateParams ¶
Click to show internal directories.
Click to hide internal directories.