httphandler

package
v0.0.0-...-c951ee7 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: May 21, 2024 License: MIT Imports: 9 Imported by: 0

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.

type Service

type Service interface {
}

Service is the interface representing the business logic of the service.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL