Documentation ¶
Index ¶
- func AddMetrics(mux *http.ServeMux)
- func AddPprof(mux *http.ServeMux)
- func AddSnapshots(mux *http.ServeMux, history *SnapshotHistory)
- func Index(w http.ResponseWriter, r *http.Request)
- func MustStartServerBackground(snapshotHistory *SnapshotHistory, port uint32, ...)
- func StartServer(snapshotHistory *SnapshotHistory, port uint32, ...) error
- type SnapshotHistory
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AddMetrics ¶
func AddSnapshots ¶
func AddSnapshots(mux *http.ServeMux, history *SnapshotHistory)
func StartServer ¶
Types ¶
type SnapshotHistory ¶
type SnapshotHistory struct {
// contains filtered or unexported fields
}
func NewSnapshotHistory ¶
func NewSnapshotHistory() *SnapshotHistory
func (*SnapshotHistory) GetInput ¶
func (h *SnapshotHistory) GetInput() ([]byte, error)
func (*SnapshotHistory) GetOutput ¶
func (h *SnapshotHistory) GetOutput() ([]byte, error)
func (*SnapshotHistory) SetInput ¶
func (h *SnapshotHistory) SetInput(latestInput json.Marshaler)
func (*SnapshotHistory) SetOutput ¶
func (h *SnapshotHistory) SetOutput(latestOutput json.Marshaler)
Click to show internal directories.
Click to hide internal directories.