routes

package
v1.2.7 Latest Latest
Warning

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

Go to latest
Published: Oct 25, 2023 License: MIT Imports: 10 Imported by: 0

Documentation

Index

Constants

View Source
const (
	//GLOBALKEY Global key name.
	GLOBALKEY = "Global"
	//DEFAULTKEY Default key name.
	DEFAULTKEY = "Default"
)

Variables

This section is empty.

Functions

func Register

func Register(router *gin.Engine, config *viper.Viper)

Register middleware configuration.

Types

type InstanceInfo

type InstanceInfo struct {
	PublicKeyDSA   string `form:"pub_key_dsa" json:"pub_key_dsa" binding:"required"`
	PublicKeyRSA   string `form:"pub_key_rsa" json:"pub_key_rsa" binding:"required"`
	PublicKeyECDSA string `form:"pub_key_ecdsa" json:"pub_key_ecdsa" binding:"required"`
	InstanceID     string `form:"instance_id" json:"instance_id" binding:"required"`
	Hostname       string `form:"hostname" json:"hostname" binding:"required"`
}

InstanceInfo Various meta for the basecamp instance.

Jump to

Keyboard shortcuts

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