Versions in this module Expand all Collapse all v0 v0.12.1 Jul 3, 2025 v0.12.0 Apr 6, 2025 Changes in this version + func GetCtxWithScope(ctx context.Context, scope string) context.Context + func GetCtxWithTraceId(ctx context.Context) context.Context + func GetScopeFromCtx(ctx context.Context) (string, bool) + func GetTraceIdFromCtx(ctx context.Context) (string, bool) + func PrintColoredBanner() + func SetOsProxy(port uint16) error + func UnsetOsProxy() error + type Args struct + Addr string + AllowedPattern StringArray + Debug bool + DnsAddr string + DnsIPv4Only bool + DnsPort uint16 + EnableDoh bool + Port uint16 + Silent bool + SystemProxy bool + Timeout uint16 + Version bool + WindowSize uint16 + func ParseArgs() *Args + type Config struct + Addr string + AllowedPatterns []*regexp.Regexp + Debug bool + DnsAddr string + DnsIPv4Only bool + DnsPort int + EnableDoh bool + Port int + Silent bool + SystemProxy bool + Timeout int + WindowSize int + func GetConfig() *Config + func (c *Config) Load(args *Args) + type StringArray []string + func (arr *StringArray) Set(value string) error + func (arr *StringArray) String() string