package
Version:
v0.4.0
Opens a new window with list of versions in this module.
Published: Oct 19, 2023
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
¶
type Certificate struct {
CertFile string `yaml:"certfile"`
KeyFile string `yaml:"keyfile"`
}
type Route struct {
Source string `yaml:"source"`
Target string `yaml:"target"`
}
type Routes struct {
Static []Route `yaml:"static"`
Proxy []Route `yaml:"proxy"`
}
type TLS struct {
Certificates []Certificate `yaml:"certificates"`
}
type YAML struct {
Listen string `yaml:"listen"`
Level slog.Level `yaml:"loglevel"`
Routes Routes `yaml:"routes"`
TLS TLS `yaml:"tls"`
}
Source Files
¶
Click to show internal directories.
Click to hide internal directories.