web

package
v0.0.0-...-261130b Latest Latest
Warning

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

Go to latest
Published: Dec 15, 2022 License: AGPL-3.0 Imports: 19 Imported by: 0

Documentation

Overview

Package web @Description:

Package web @Description: 封装了所以web相关的内容

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func RouterInit

func RouterInit() *gin.Engine

RouterInit @Description: @return *gin.Engine

Types

type Resp

type Resp struct {
	Code    int         `json:"code"`
	Message string      `json:"message"`
	Data    interface{} `json:"data"`
	Success bool        `json:"success"`
	Error   string      `json:"error"`
}

Jump to

Keyboard shortcuts

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