Documentation
¶
Index ¶
Constants ¶
View Source
const PluginType = "ecs"
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Args ¶
type Args struct {
// Automatically append client address as ecs.
// If this is true, pre-set addresses will not be used.
Auto bool `yaml:"auto"`
// force overwrite existing ecs
ForceOverwrite bool `yaml:"force_overwrite"`
// mask for ecs
Mask4 int `yaml:"mask4"` // default 24
Mask6 int `yaml:"mask6"` // default 48
// pre-set address
IPv4 string `yaml:"ipv4"`
IPv6 string `yaml:"ipv6"`
}
Click to show internal directories.
Click to hide internal directories.