Documentation ¶
Index ¶
Constants ¶
View Source
const ( // DayTime is one day period. DayTime = time.Duration(24*60*60) * time.Second )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Handler ¶
type Handler struct {
// contains filtered or unexported fields
}
Handler serves various HTTP endpoints of the Diamond server
type Option ¶
type Option struct { Port string Store storage.ReadWriter }
Options for the web Handler.
type WriteRequest ¶
WriteRequest reprensents a request of /datapoints.
Click to show internal directories.
Click to hide internal directories.