constshandlers

package
v0.0.0-...-851e7b8 Latest Latest
Warning

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

Go to latest
Published: Mar 14, 2020 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ConstsHandlers

type ConstsHandlers struct {
	*basichandlers.Basic
}

ConstsHandlers defined for server consts APIs

func (*ConstsHandlers) ServerTime

func (ctrl *ConstsHandlers) ServerTime() gin.HandlerFunc

ServerTime defined to print server time @Summary 服务器时间 @Tags 常量与可选值 @Description 获取服务器当前的时间 @Accept json @Produce json @Success 200 "{"code":200,"data":{},"message":"操作成功"}" @Router /consts/serverTime [get]

Jump to

Keyboard shortcuts

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