Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var Module = fx.Options( fx.Provide( NewHandlers, NewRoutes, ), )
Functions ¶
Types ¶
type Handlers ¶
type Handlers interface { Ping(rw http.ResponseWriter, r *http.Request) Info(rw http.ResponseWriter, r *http.Request) }
func NewHandlers ¶
func NewHandlers(params handlersParams) Handlers
type HandlersImpl ¶
type HandlersImpl struct { Logger *logging.ZapEventLogger Name server.Name }
func (*HandlersImpl) Info ¶
func (h *HandlersImpl) Info(rw http.ResponseWriter, r *http.Request)
func (*HandlersImpl) Ping ¶
func (h *HandlersImpl) Ping(rw http.ResponseWriter, r *http.Request)
Click to show internal directories.
Click to hide internal directories.