Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Server ¶
type Server struct {
// contains filtered or unexported fields
}
A Server defines parameters for running an HTTP server. The HTTP server serves an API for inspecting cache contents and request log.
func NewServer ¶
NewServer creates a new HTTP server, serving logs from the given logger and listening on addr.
func (*Server) ListenAndServe ¶
ListenAndServe starts the HTTP server listening on the configured address.
Click to show internal directories.
Click to hide internal directories.