Documentation ¶
Index ¶
- func IsIPv4(ipAddr string) bool
- func IsIPv6(ipAddr string) bool
- type StringSet
- func (set *StringSet) Add(str string)
- func (set *StringSet) AddAll(itemSlice []string)
- func (set *StringSet) Clone() *StringSet
- func (set *StringSet) Has(str string) bool
- func (set *StringSet) Intersection(set2 *StringSet) *StringSet
- func (set *StringSet) Remove(str string)
- func (set *StringSet) RemoveAll(other *StringSet)
- func (set *StringSet) Size() int
- func (set *StringSet) ToArray() []string
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type StringSet ¶
type StringSet struct {
// contains filtered or unexported fields
}
func NewStringSet ¶
func NewStringSet() *StringSet
func (*StringSet) Intersection ¶
Click to show internal directories.
Click to hide internal directories.