version

package
v1.0.1 Latest Latest
Warning

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

Go to latest
Published: Nov 9, 2023 License: Apache-2.0, BSD-2-Clause, BSD-3-Clause, + 3 more Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Get

func Get(c *gin.Context)

Get Get api server version @Summary Get api server version @Description Get api server version @Tags Version @Accept json @Produce json @Success 200 {string} json "{"code":0,"message":"OK","data":{"version":"","commit_id":"","branch":""}}" @Router /v1/version [get]

func UpgradeInfo

func UpgradeInfo(c *gin.Context)

UpgradeInfo api server version update info @Summary UpgradeInfo api server version update info @Description UpgradeInfo api server version update info @Tags Version @Accept json @Produce json @Success 200 {object} model.VersionUpgradeInfo "{"code":0,"message":"OK","data":model.VersionUpgradeInfo}" @Router /v1/nocalhost/version/upgrade_info [get]

Types

This section is empty.

Jump to

Keyboard shortcuts

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