Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Config ¶
type Database ¶
type Server ¶
type Server struct { Host string `yaml:"host"` Port int `yaml:"port"` LogLevel slog.Level `yaml:"log-level"` IdleTimeout time.Duration `yaml:"idle-timeout"` ReadTimeout time.Duration `yaml:"read-timeout"` WriteTimeout time.Duration `yaml:"write-timeout"` CertPath string `yaml:"cert-path"` KeyPath string `yaml:"key-path"` }
Click to show internal directories.
Click to hide internal directories.