Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func HealthzHandler ¶
func LoggingMiddleware ¶
LoggingMiddleware logs the incoming HTTP request & its duration.
func RegisterFlags ¶
Types ¶
type RegisterHandler ¶
type Server ¶
type Server struct {
// contains filtered or unexported fields
}
func InitFromViper ¶
func (*Server) RegisterHandler ¶
func (s *Server) RegisterHandler(handler RegisterHandler)
Click to show internal directories.
Click to hide internal directories.