infocontroller

package
v1.0.43 Latest Latest
Warning

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

Go to latest
Published: Jan 8, 2025 License: Apache-2.0 Imports: 4 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