Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( Form *srun.LoginForm Meta *srun.LoginMeta Settings *SettingsConf Timeout time.Duration )
Functions ¶
This section is empty.
Types ¶
type ConfFromFile ¶
type ConfFromFile struct { Form srun.LoginForm `json:"form" yaml:"form"` Meta srun.LoginMeta `json:"meta" yaml:"meta"` Settings SettingsConf `json:"settings" yaml:"settings"` }
type DdnsConf ¶
type DdnsConf struct { Enable bool `json:"enable" yaml:"enable"` TTL uint `json:"ttl" yaml:"ttl"` Domain string `json:"domain" yaml:"domain"` Provider string `json:"provider" yaml:"provider"` Config DdnsProviderConfigSum `json:"config" yaml:"config"` }
type DdnsProviderConfigSum ¶ added in v1.5.2
type DdnsProviderConfigSum struct { dnspod.DnsPod `yaml:",inline"` cloudflare.Cloudflare `yaml:",inline"` aliyun.Aliyun `yaml:",inline"` }
type GuardianConf ¶
type RealityConf ¶ added in v1.5.1
type SettingsConf ¶
type SettingsConf struct { Basic BasicConf `json:"basic" yaml:"basic"` Guardian GuardianConf `json:"guardian" yaml:"guardian"` Log LogConf `json:"log" yaml:"log"` DDNS DdnsConf `json:"ddns" yaml:"ddns"` Reality RealityConf `json:"reality" yaml:"reality"` CustomHeader map[string]interface{} `json:"custom_header" yaml:"custom_header"` }
Click to show internal directories.
Click to hide internal directories.