Documentation
¶
Index ¶
- func IsIPv4(ipAddr string) bool
- func IsIPv6(ipAddr string) bool
- func ListFilesRecursively(dir string, set *StringSet) error
- type GoroutineSafeBuffer
- 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 ¶
func ListFilesRecursively ¶ added in v0.2.8
Types ¶
type GoroutineSafeBuffer ¶ added in v0.2.10
type GoroutineSafeBuffer struct {
// contains filtered or unexported fields
}
func NewGoroutineSafeBuffer ¶ added in v0.2.10
func NewGoroutineSafeBuffer() *GoroutineSafeBuffer
func (*GoroutineSafeBuffer) Bytes ¶ added in v0.2.10
func (g *GoroutineSafeBuffer) Bytes() []byte
func (*GoroutineSafeBuffer) Len ¶ added in v0.2.10
func (g *GoroutineSafeBuffer) Len() int
func (*GoroutineSafeBuffer) Read ¶ added in v0.2.10
func (g *GoroutineSafeBuffer) Read(p []byte) (n int, err error)
func (*GoroutineSafeBuffer) Reset ¶ added in v0.2.10
func (g *GoroutineSafeBuffer) Reset()
func (*GoroutineSafeBuffer) String ¶ added in v0.2.10
func (g *GoroutineSafeBuffer) String() string
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.