Versions in this module Expand all Collapse all v1 v1.0.10 Feb 6, 2024 Changes in this version + const EnvWgCommand + const EnvWgHideKeys + func ByteCountIEC(b int64) string + func ParseKey(key string) (wgtypes.Key, error) + func Show(opts *WgShowOptions) ([]string, error) + type Config struct + Address []net.IPNet + AddressLabel string + DNS []net.IP + MTU int + PostDown string + PostUp string + PreDown string + PreUp string + RouteMetric int + RouteProtocol int + SaveConfig bool + Table int + func (cfg *Config) MarshalText() (text []byte, err error) + func (cfg *Config) String() string + func (cfg *Config) UnmarshalText(text []byte) error + type WgShowOptions struct + Interface string + Option string + ShowKeys bool