Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var HTTP_PORT = "8000"
Functions ¶
This section is empty.
Types ¶
type Server ¶
type Server struct { TotalRequests prometheus.CounterVec RequestResponceTime prometheus.SummaryVec // contains filtered or unexported fields }
func (*Server) CheckLiviness ¶
func (s *Server) CheckLiviness(w http.ResponseWriter, _ *http.Request)
func (*Server) CheckReadiness ¶
func (s *Server) CheckReadiness(w http.ResponseWriter, _ *http.Request)
func (*Server) EmulateActivity ¶
func (s *Server) EmulateActivity()
Emulate activity where server can't be serving requests
Click to show internal directories.
Click to hide internal directories.