mirror of
https://github.com/steveiliop56/tinyauth.git
synced 2026-03-13 18:22:02 +00:00
wip
This commit is contained in:
@@ -29,6 +29,7 @@ type Config struct {
|
||||
Ldap LdapConfig `description:"LDAP configuration." yaml:"ldap"`
|
||||
Experimental ExperimentalConfig `description:"Experimental features, use with caution." yaml:"experimental"`
|
||||
Log LogConfig `description:"Logging configuration." yaml:"log"`
|
||||
Tailscale TailscaleConfig `description:"Tailscale configuration." yaml:"tailscale"`
|
||||
}
|
||||
|
||||
type ServerConfig struct {
|
||||
@@ -84,6 +85,11 @@ type LogConfig struct {
|
||||
Streams LogStreams `description:"Configuration for specific log streams." yaml:"streams"`
|
||||
}
|
||||
|
||||
type TailscaleConfig struct {
|
||||
AuthKey string `description:"Tailscale authentication key." yaml:"authKey"`
|
||||
Hostname string `description:"Hostname for Tailscale." yaml:"hostname"`
|
||||
}
|
||||
|
||||
type LogStreams struct {
|
||||
HTTP LogStreamConfig `description:"HTTP request logging." yaml:"http"`
|
||||
App LogStreamConfig `description:"Application logging." yaml:"app"`
|
||||
|
||||
Reference in New Issue
Block a user