web

package
v1.0.38 Latest Latest
Warning

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

Go to latest
Published: Oct 31, 2022 License: AGPL-3.0 Imports: 18 Imported by: 1

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