api

package
v0.0.29 Latest Latest
Warning

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

Go to latest
Published: Jan 6, 2023 License: BSD-3-Clause Imports: 26 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
	Csrf     *csrf.Csrf
	Index    *index.Controller
	Projects *projects.Controller
	Feishu   *feishu.Controller
	Tencent  *tencent.Controller
	KV       *kv.Controller
	Sessions *sessions.Controller
	DSL      *dsl.Controller
	Transfer *transfer.Transfer
}

func (*API) AccessLogs added in v0.0.29

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

func (*API) AuthGuard added in v0.0.29

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

func (*API) ErrHandler

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

ErrHandler 错误处理

func (*API) Initialize

func (x *API) Initialize(ctx context.Context) (h *server.Hertz, err error)

Initialize 初始化

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