Versions in this module Expand all Collapse all v1 v1.0.0 Dec 24, 2023 Changes in this version + const AllowMixedCompression + const HostPreferred + const MixedCompressionCoveredByHost + const MixedCompressionNoHost + const MixedPreferred + const NoMixedCompression + const WildcardsAll + const WildcardsNetworkOnly + const ZerosCompression + const ZerosOrHost + type CompressOptions interface + CompressSingle func() bool + GetCompressionChoiceOptions func() CompressionChoiceOptions + GetMixedCompressionOptions func() MixedCompressionOptions + type CompressOptionsBuilder struct + func (builder *CompressOptionsBuilder) SetCompressSingle(compressSingle bool) *CompressOptionsBuilder + func (builder *CompressOptionsBuilder) SetCompressionChoiceOptions(rangeSelection CompressionChoiceOptions) *CompressOptionsBuilder + func (builder *CompressOptionsBuilder) SetMixedCompressionOptions(compressMixedOptions MixedCompressionOptions) *CompressOptionsBuilder + func (builder *CompressOptionsBuilder) ToOptions() CompressOptions + func (opts *CompressOptionsBuilder) CompressSingle() bool + func (opts *CompressOptionsBuilder) GetCompressionChoiceOptions() CompressionChoiceOptions + func (opts *CompressOptionsBuilder) GetMixedCompressionOptions() MixedCompressionOptions + type CompressionChoiceOptions string + func (choice CompressionChoiceOptions) CompressHost() bool + type IPStringOptions interface + GetAddressSuffix func() string + GetWildcardOption func() WildcardOption + GetZoneSeparator func() string + type IPStringOptionsBuilder struct + func (builder *IPStringOptionsBuilder) SetAddressLabel(label string) *IPStringOptionsBuilder + func (builder *IPStringOptionsBuilder) SetAddressSuffix(suffix string) *IPStringOptionsBuilder + func (builder *IPStringOptionsBuilder) SetExpandedSegments(expandSegments bool) *IPStringOptionsBuilder + func (builder *IPStringOptionsBuilder) SetHasSeparator(has bool) *IPStringOptionsBuilder + func (builder *IPStringOptionsBuilder) SetRadix(base int) *IPStringOptionsBuilder + func (builder *IPStringOptionsBuilder) SetReverse(reverse bool) *IPStringOptionsBuilder + func (builder *IPStringOptionsBuilder) SetSegmentStrPrefix(prefix string) *IPStringOptionsBuilder + func (builder *IPStringOptionsBuilder) SetSeparator(separator byte) *IPStringOptionsBuilder + func (builder *IPStringOptionsBuilder) SetUppercase(uppercase bool) *IPStringOptionsBuilder + func (builder *IPStringOptionsBuilder) SetWildcardOption(wildcardOption WildcardOption) *IPStringOptionsBuilder + func (builder *IPStringOptionsBuilder) SetWildcardOptions(wildcardOptions WildcardOptions) *IPStringOptionsBuilder + func (builder *IPStringOptionsBuilder) SetWildcards(wildcards Wildcards) *IPStringOptionsBuilder + func (builder *IPStringOptionsBuilder) SetZoneSeparator(separator string) *IPStringOptionsBuilder + func (builder *IPStringOptionsBuilder) ToOptions() IPStringOptions + func (opts *IPStringOptionsBuilder) GetAddressLabel() string + func (opts *IPStringOptionsBuilder) GetRadix() int + func (opts *IPStringOptionsBuilder) GetSegmentStrPrefix() string + func (opts *IPStringOptionsBuilder) GetSeparator() byte + func (opts *IPStringOptionsBuilder) GetWildcards() Wildcards + func (opts *IPStringOptionsBuilder) HasSeparator() bool + func (opts *IPStringOptionsBuilder) IsExpandedSegments() bool + func (opts *IPStringOptionsBuilder) IsReverse() bool + func (opts *IPStringOptionsBuilder) IsUppercase() bool + type IPv4StringOptionsBuilder struct + func (builder *IPv4StringOptionsBuilder) SetAddressLabel(label string) *IPv4StringOptionsBuilder + func (builder *IPv4StringOptionsBuilder) SetAddressSuffix(suffix string) *IPv4StringOptionsBuilder + func (builder *IPv4StringOptionsBuilder) SetExpandedSegments(expandSegments bool) *IPv4StringOptionsBuilder + func (builder *IPv4StringOptionsBuilder) SetHasSeparator(has bool) *IPv4StringOptionsBuilder + func (builder *IPv4StringOptionsBuilder) SetRadix(base int) *IPv4StringOptionsBuilder + func (builder *IPv4StringOptionsBuilder) SetReverse(reverse bool) *IPv4StringOptionsBuilder + func (builder *IPv4StringOptionsBuilder) SetSegmentStrPrefix(prefix string) *IPv4StringOptionsBuilder + func (builder *IPv4StringOptionsBuilder) SetSeparator(separator byte) *IPv4StringOptionsBuilder + func (builder *IPv4StringOptionsBuilder) SetUppercase(uppercase bool) *IPv4StringOptionsBuilder + func (builder *IPv4StringOptionsBuilder) SetWildcardOption(wildcardOption WildcardOption) *IPv4StringOptionsBuilder + func (builder *IPv4StringOptionsBuilder) SetWildcardOptions(wildcardOptions WildcardOptions) *IPv4StringOptionsBuilder + func (builder *IPv4StringOptionsBuilder) SetWildcards(wildcards Wildcards) *IPv4StringOptionsBuilder + func (builder *IPv4StringOptionsBuilder) ToOptions() IPStringOptions + func (opts *IPv4StringOptionsBuilder) GetAddressLabel() string + func (opts *IPv4StringOptionsBuilder) GetRadix() int + func (opts *IPv4StringOptionsBuilder) GetSegmentStrPrefix() string + func (opts *IPv4StringOptionsBuilder) GetSeparator() byte + func (opts *IPv4StringOptionsBuilder) GetWildcards() Wildcards + func (opts *IPv4StringOptionsBuilder) HasSeparator() bool + func (opts *IPv4StringOptionsBuilder) IsExpandedSegments() bool + func (opts *IPv4StringOptionsBuilder) IsReverse() bool + func (opts *IPv4StringOptionsBuilder) IsUppercase() bool + type IPv6StringOptions interface + GetCompressOptions func() CompressOptions + GetIPv4Opts func() IPStringOptions + IsMixed func() bool + IsSplitDigits func() bool + type IPv6StringOptionsBuilder struct + func (builder *IPv6StringOptionsBuilder) GetCompressOptions() CompressOptions + func (builder *IPv6StringOptionsBuilder) GetIPv4Opts() IPStringOptions + func (builder *IPv6StringOptionsBuilder) IsMixed() bool + func (builder *IPv6StringOptionsBuilder) SetAddressSuffix(suffix string) *IPv6StringOptionsBuilder + func (builder *IPv6StringOptionsBuilder) SetCompressOptions(compressOptions CompressOptions) *IPv6StringOptionsBuilder + func (builder *IPv6StringOptionsBuilder) SetExpandedSegments(expandSegments bool) *IPv6StringOptionsBuilder + func (builder *IPv6StringOptionsBuilder) SetHasSeparator(has bool) *IPv6StringOptionsBuilder + func (builder *IPv6StringOptionsBuilder) SetMixed(makeMixed bool) *IPv6StringOptionsBuilder + func (builder *IPv6StringOptionsBuilder) SetMixedOptions(ipv4Options IPStringOptions) *IPv6StringOptionsBuilder + func (builder *IPv6StringOptionsBuilder) SetRadix(base int) *IPv6StringOptionsBuilder + func (builder *IPv6StringOptionsBuilder) SetReverse(reverse bool) *IPv6StringOptionsBuilder + func (builder *IPv6StringOptionsBuilder) SetSegmentStrPrefix(prefix string) *IPv6StringOptionsBuilder + func (builder *IPv6StringOptionsBuilder) SetSeparator(separator byte) *IPv6StringOptionsBuilder + func (builder *IPv6StringOptionsBuilder) SetSplitDigits(splitDigits bool) *IPv6StringOptionsBuilder + func (builder *IPv6StringOptionsBuilder) SetUppercase(upper bool) *IPv6StringOptionsBuilder + func (builder *IPv6StringOptionsBuilder) SetWildcardOption(wildcardOption WildcardOption) *IPv6StringOptionsBuilder + func (builder *IPv6StringOptionsBuilder) SetWildcardOptions(wildcardOptions WildcardOptions) *IPv6StringOptionsBuilder + func (builder *IPv6StringOptionsBuilder) SetWildcards(wildcards Wildcards) *IPv6StringOptionsBuilder + func (builder *IPv6StringOptionsBuilder) SetZoneSeparator(separator string) *IPv6StringOptionsBuilder + func (builder *IPv6StringOptionsBuilder) ToOptions() IPv6StringOptions + func (opts *IPv6StringOptionsBuilder) GetAddressLabel() string + func (opts *IPv6StringOptionsBuilder) GetRadix() int + func (opts *IPv6StringOptionsBuilder) GetSegmentStrPrefix() string + func (opts *IPv6StringOptionsBuilder) GetSeparator() byte + func (opts *IPv6StringOptionsBuilder) GetWildcards() Wildcards + func (opts *IPv6StringOptionsBuilder) HasSeparator() bool + func (opts *IPv6StringOptionsBuilder) IsExpandedSegments() bool + func (opts *IPv6StringOptionsBuilder) IsReverse() bool + func (opts *IPv6StringOptionsBuilder) IsUppercase() bool + type MACStringOptionsBuilder struct + func (builder *MACStringOptionsBuilder) SetAddressLabel(label string) *MACStringOptionsBuilder + func (builder *MACStringOptionsBuilder) SetExpandedSegments(expandSegments bool) *MACStringOptionsBuilder + func (builder *MACStringOptionsBuilder) SetHasSeparator(has bool) *MACStringOptionsBuilder + func (builder *MACStringOptionsBuilder) SetRadix(base int) *MACStringOptionsBuilder + func (builder *MACStringOptionsBuilder) SetReverse(reverse bool) *MACStringOptionsBuilder + func (builder *MACStringOptionsBuilder) SetSegmentStrPrefix(prefix string) *MACStringOptionsBuilder + func (builder *MACStringOptionsBuilder) SetSeparator(separator byte) *MACStringOptionsBuilder + func (builder *MACStringOptionsBuilder) SetUppercase(uppercase bool) *MACStringOptionsBuilder + func (builder *MACStringOptionsBuilder) SetWildcards(wildcards Wildcards) *MACStringOptionsBuilder + func (builder *MACStringOptionsBuilder) ToOptions() StringOptions + func (opts *MACStringOptionsBuilder) GetAddressLabel() string + func (opts *MACStringOptionsBuilder) GetRadix() int + func (opts *MACStringOptionsBuilder) GetSegmentStrPrefix() string + func (opts *MACStringOptionsBuilder) GetSeparator() byte + func (opts *MACStringOptionsBuilder) GetWildcards() Wildcards + func (opts *MACStringOptionsBuilder) HasSeparator() bool + func (opts *MACStringOptionsBuilder) IsExpandedSegments() bool + func (opts *MACStringOptionsBuilder) IsReverse() bool + func (opts *MACStringOptionsBuilder) IsUppercase() bool + type MixedCompressionOptions string + type StringOptions interface + GetAddressLabel func() string + GetRadix func() int + GetSegmentStrPrefix func() string + GetSeparator func() byte + GetWildcards func() Wildcards + HasSeparator func() bool + IsExpandedSegments func() bool + IsReverse func() bool + IsUppercase func() bool + type StringOptionsBuilder struct + func (builder *StringOptionsBuilder) SetAddressLabel(label string) *StringOptionsBuilder + func (builder *StringOptionsBuilder) SetExpandedSegments(expandSegments bool) *StringOptionsBuilder + func (builder *StringOptionsBuilder) SetHasSeparator(has bool) *StringOptionsBuilder + func (builder *StringOptionsBuilder) SetRadix(base int) *StringOptionsBuilder + func (builder *StringOptionsBuilder) SetReverse(reverse bool) *StringOptionsBuilder + func (builder *StringOptionsBuilder) SetSegmentStrPrefix(prefix string) *StringOptionsBuilder + func (builder *StringOptionsBuilder) SetSeparator(separator byte) *StringOptionsBuilder + func (builder *StringOptionsBuilder) SetUppercase(uppercase bool) *StringOptionsBuilder + func (builder *StringOptionsBuilder) SetWildcards(wildcards Wildcards) *StringOptionsBuilder + func (builder *StringOptionsBuilder) ToOptions() StringOptions + func (opts *StringOptionsBuilder) GetAddressLabel() string + func (opts *StringOptionsBuilder) GetRadix() int + func (opts *StringOptionsBuilder) GetSegmentStrPrefix() string + func (opts *StringOptionsBuilder) GetSeparator() byte + func (opts *StringOptionsBuilder) GetWildcards() Wildcards + func (opts *StringOptionsBuilder) HasSeparator() bool + func (opts *StringOptionsBuilder) IsExpandedSegments() bool + func (opts *StringOptionsBuilder) IsReverse() bool + func (opts *StringOptionsBuilder) IsUppercase() bool + type WildcardOption string + type WildcardOptions interface + GetWildcardOption func() WildcardOption + GetWildcards func() Wildcards + type WildcardOptionsBuilder struct + func (builder *WildcardOptionsBuilder) SetWildcardOptions(wildcardOption WildcardOption) *WildcardOptionsBuilder + func (builder *WildcardOptionsBuilder) SetWildcards(wildcards Wildcards) *WildcardOptionsBuilder + func (builder *WildcardOptionsBuilder) ToOptions() WildcardOptions + func (opts *WildcardOptionsBuilder) GetWildcardOption() WildcardOption + func (opts *WildcardOptionsBuilder) GetWildcards() Wildcards + type Wildcards interface + GetRangeSeparator func() string + GetSingleWildcard func() string + GetWildcard func() string + var DefaultWildcards Wildcards = &wildcards{ ... } + type WildcardsBuilder struct + func (wildcards *WildcardsBuilder) GetRangeSeparator() string + func (wildcards *WildcardsBuilder) GetSingleWildcard() string + func (wildcards *WildcardsBuilder) GetWildcard() string + func (wildcards *WildcardsBuilder) SetRangeSeparator(str string) *WildcardsBuilder + func (wildcards *WildcardsBuilder) SetSingleWildcard(str string) *WildcardsBuilder + func (wildcards *WildcardsBuilder) SetWildcard(str string) *WildcardsBuilder + func (wildcards *WildcardsBuilder) ToWildcards() Wildcards