api

package
v0.3.0 Latest Latest
Warning

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

Go to latest
Published: Jan 29, 2023 License: BSD-3-Clause Imports: 17 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

Functions

This section is empty.

Types

type API

type API struct {
	*common.Inject

	Hertz *server.Hertz

	IndexController  *index.Controller
	IndexService     *index.Service
	GeoController    *geo.Controller
	GeoService       *geo.Service
	QrcodeController *qrcode.Controller
	QrcodeService    *qrcode.Service
}

func (*API) AccessLog

func (x *API) AccessLog() app.HandlerFunc

AccessLog 日志

func (*API) ErrHandler

func (x *API) ErrHandler() app.HandlerFunc

ErrHandler 错误处理

func (*API) Routes

func (x *API) Routes() (h *server.Hertz, err error)

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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