Versions in this module Expand all Collapse all v0 v0.4.0 Oct 19, 2023 Changes in this version + type Certificate struct + CertFile string + KeyFile string + type Config struct + Addr string + Level slog.Level + Routes []handler.Route + TLS *tls.Config + func ReadConfig(filename string) (*Config, error) + type Route struct + Source string + Target string + type Routes struct + Proxy []Route + Static []Route + func (r Routes) Get() ([]handler.Route, error) + type TLS struct + Certificates []Certificate + func (h TLS) GetConfig() (*tls.Config, error) + type YAML struct + Level slog.Level + Listen string + Routes Routes + TLS TLS