Documentation ¶
Index ¶
- func ConvertToHHMMSS(times []time.Time) []string
- func GetTreeData(root *hyr.Webpage) *[]opts.TreeData
- type Dashboard
- func (dashboard *Dashboard) A() *[]opts.TreeData
- func (dashboard *Dashboard) GetAgeChart(bucketDuration time.Duration, duration time.Duration, ip string) *charts.Line
- func (dashboard *Dashboard) GetFreshnessChart(bucketDuration time.Duration, duration time.Duration, ip string) *charts.Line
- func (dashboard *Dashboard) GetTreeChart() *charts.Tree
- func (dashboard *Dashboard) HandleAgeChart(w http.ResponseWriter, r *http.Request)
- func (dashboard *Dashboard) HandleBy(mux *http.ServeMux)
- func (dashboard *Dashboard) HandleFreshnessChart(w http.ResponseWriter, r *http.Request)
- func (dashboard *Dashboard) HandleMainPage(w http.ResponseWriter, r *http.Request)
- func (dashboard *Dashboard) HandleTreeChart(w http.ResponseWriter, r *http.Request)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ConvertToHHMMSS ¶
Types ¶
type Dashboard ¶
type Dashboard struct {
// contains filtered or unexported fields
}
func (*Dashboard) GetAgeChart ¶
func (*Dashboard) GetFreshnessChart ¶
func (*Dashboard) GetTreeChart ¶
func (*Dashboard) HandleAgeChart ¶
func (dashboard *Dashboard) HandleAgeChart(w http.ResponseWriter, r *http.Request)
func (*Dashboard) HandleFreshnessChart ¶
func (dashboard *Dashboard) HandleFreshnessChart(w http.ResponseWriter, r *http.Request)
func (*Dashboard) HandleMainPage ¶
func (dashboard *Dashboard) HandleMainPage(w http.ResponseWriter, r *http.Request)
func (*Dashboard) HandleTreeChart ¶
func (dashboard *Dashboard) HandleTreeChart(w http.ResponseWriter, r *http.Request)
Click to show internal directories.
Click to hide internal directories.