server

package
v0.0.0-...-ec8d692 Latest Latest
Warning

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

Go to latest
Published: Apr 25, 2024 License: Apache-2.0 Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetAPIVersion

func GetAPIVersion(w http.ResponseWriter, _ *http.Request)

GetAPIVersion returns the current supported API version

func RegisterRoutes

func RegisterRoutes()

RegisterRoutes register all routes

Types

type APIVersion

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

APIVersion model

Jump to

Keyboard shortcuts

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