middleware

package
v0.0.0-...-bf4de7e Latest Latest
Warning

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

Go to latest
Published: Sep 3, 2024 License: MIT Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func New

func New() service.IMiddleware

Types

type HandlerResponse

type HandlerResponse struct {
	Code    int    `json:"code"    dc:"错误码"`
	Message string `json:"message" dc:"错误消息"`
	Data    any    `json:"data"    dc:"当前请求的结果数据"`
	TS      int64  `json:"ts"      dc:"当前请求的时间戳"`
}

Jump to

Keyboard shortcuts

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