Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MultiClusterConfig ¶
type MultiClusterConfig struct { // Cluster name Cluster string `yaml:"Cluster"` // Cluster weight Weight float64 `yaml:"Weight"` }
MultiClusterConfig defines region settings for multicluster
type RegionConfig ¶
type RegionConfig struct { // Multi cluster config Clusters []MultiClusterConfig `yaml:"Clusters"` // Domains used for region matching Domains []string `yaml:"Domains"` // Default region will be applied if Host header would not match any other region Default bool `yaml:"Default,omitempty"` }
RegionConfig region configuration
type SyncLogMethod ¶
type SyncLogMethod struct {
Method string
}
SyncLogMethod type fields in yaml configuration will parse list of HTTP methods
func (*SyncLogMethod) UnmarshalYAML ¶
func (slm *SyncLogMethod) UnmarshalYAML(unmarshal func(interface{}) error) error
UnmarshalYAML for SyncLogMethod
Click to show internal directories.
Click to hide internal directories.