add file option for AuthConfig

This commit is contained in:
ginuerzh
2025-06-24 21:16:17 +08:00
parent d819fd3041
commit 6caad5e37e
2 changed files with 53 additions and 2 deletions
+2 -1
View File
@@ -143,8 +143,9 @@ type AutherConfig struct {
}
type AuthConfig struct {
Username string `json:"username"`
Username string `yaml:",omitempty" json:"username,omitempty"`
Password string `yaml:",omitempty" json:"password,omitempty"`
File string `yaml:",omitempty" json:"file,omitempty"`
}
type SelectorConfig struct {