api

package
v0.3.0-beta.10 Latest Latest
Warning

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

Go to latest
Published: Jan 26, 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
	ExcelController *excel.Controller
	ExcelService    *excel.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