Documentation ¶
Overview ¶
Package httphandler handles the inbound service requests.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type HTTPHandler ¶
type HTTPHandler struct {
// contains filtered or unexported fields
}
HTTPHandler is the struct containing all the http handlers.
func New ¶
func New(appInfo *jsendx.AppInfo, metric metrics.Metrics, val validator.Validator, rndpwd *password.Password) *HTTPHandler
New creates a new instance of the HTTP handler.
func (*HTTPHandler) BindHTTP ¶
func (h *HTTPHandler) BindHTTP(_ context.Context) []httpserver.Route
BindHTTP implements the function to bind the handler to a server.
Click to show internal directories.
Click to hide internal directories.