infocontroller

package
v0.3.11-rc4 Latest Latest
Warning

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

Go to latest
Published: Nov 19, 2024 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetVersion

func GetVersion() gin.HandlerFunc

TODO: Describe

@Summary	Get version
@Schemes
@Description	Get version
@Tags			info
@Accept			application/json
@Produce		application/json
@Success		200					{object}	map[string]interface{}
@Failure		403					{object}	map[string]interface{}
@Failure		401					{object}	map[string]interface{}
@Failure		500					{object}	map[string]interface{}
@Router			/v1/info/version	[get]

Types

type Version

type Version struct {
	Version string `json:"version"`
}

Jump to

Keyboard shortcuts

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