Documentation ¶
Index ¶
Constants ¶
View Source
const ( MetricsNamespace = "op_heartbeat" MinHeartbeatInterval = 10*time.Minute - 10*time.Second UsersCacheSize = 10_000 )
View Source
const ( HTTPMaxHeaderSize = 10 * 1024 HTTPMaxBodySize = 1024 * 1024 )
Variables ¶
Functions ¶
func HealthzHandler ¶
func HealthzHandler(w http.ResponseWriter, r *http.Request)
Types ¶
type Config ¶
type HeartbeatService ¶
type HeartbeatService struct {
// contains filtered or unexported fields
}
Click to show internal directories.
Click to hide internal directories.