handler

package
v0.0.0-...-2cea6d0 Latest Latest
Warning

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

Go to latest
Published: Jul 8, 2022 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Handler

type Handler struct {
	*session.Session
	*setting.SettingApp
	*auth.AuthApp
	*loan.LoanApp
}

func NewHandler

func NewHandler(
	session *session.Session,
	settingApp *setting.SettingApp,
	authApp *auth.AuthApp,
	loanApp *loan.LoanApp,
) *Handler

func (*Handler) ServeRestAPI

func (h *Handler) ServeRestAPI()

type RouteMiddleware

type RouteMiddleware func(next http.HandlerFunc) http.HandlerFunc

Jump to

Keyboard shortcuts

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