system

package
v1.0.6 Latest Latest
Warning

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

Go to latest
Published: Jul 16, 2020 License: LGPL-3.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func HandleGetVersion1

func HandleGetVersion1(w http.ResponseWriter, r *http.Request)

func SetVersion

func SetVersion(v *Version)

Types

type GetVersion1Response

type GetVersion1Response struct {
	httpserver.ResponseBody
	Data struct {
		Version   string `json:"version"`
		CommitId  string `json:"commitId"`
		BuildTime string `json:"buildTime"`
	} `json:"data"`
}

type Version

type Version struct {
	Version   string `json:"version"`
	CommitId  string `json:"commitId"`
	BuildTime string `json:"buildTime"`
}

func GetVersion added in v1.0.5

func GetVersion() Version

Jump to

Keyboard shortcuts

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