Documentation ¶
Overview ¶
节点配置层
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Settings ¶
type Settings struct {
// contains filtered or unexported fields
}
func (*Settings) GetAllowedUrls ¶
func (this *Settings) GetAllowedUrls() []interface{}
获取配置文件中的 AllowedUrls
type SettingsV6 ¶
type SettingsV6 struct { Defaults struct { Path struct { Repo []string `json:"repo"` } `json:"path"` Repositories struct { URL struct { AllowedUrls []interface{} `json:"allowed_urls"` } `json:"url"` } `json:"repositories"` } `json:"defaults"` }
type SettingsV7 ¶
type SettingsV7 struct {
Defaults struct {
Path struct {
Repo []interface{} `json:"repo"`
} `json:"path"`
Repositories struct {
URL struct {
AllowedUrls []interface{} `json:"allowed_urls"`
} `json:"url"`
} `json:"repositories"`
} `json:"defaults"`
}
Click to show internal directories.
Click to hide internal directories.