package
Version:
v0.0.3
Opens a new window with list of versions in this module.
Published: Aug 21, 2024
License: MIT
Opens a new window with license information.
Imports: 6
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
func MapKeys[K string, V interface{}](obj map[K]V) []K
func RegisterUniqueRoutesValidator(validate *validator.Validate)
type Certificate struct {
CertFilePath string `json:"certFilePath" validate:"required,filepath"`
KeyFilePath string `json:"keyFilePath" validate:"required,filepath"`
ExpiresAt time.Time `json:"expiresAt" validate:"required"`
}
type Route struct {
Domain string `yaml:"domain" json:"domain" validate:"required,fqdn"`
Upstream string `yaml:"upstream" json:"upstream" validate:"required,url,startswith=http://"`
}
Source Files
¶
Click to show internal directories.
Click to hide internal directories.