Documentation
¶
Index ¶
- type Pair
- type Pairs
- func (q *Pairs) Add(name, value []byte)
- func (q *Pairs) Del(name []byte)
- func (q *Pairs) DelAll(name []byte)
- func (q *Pairs) Get(name []byte) ([]byte, bool)
- func (q *Pairs) GetAll(name []byte, fn func(value []byte) bool)
- func (q *Pairs) Len() int
- func (*Pairs) Lock()
- func (q *Pairs) Range(fn func(name, value []byte) bool)
- func (q *Pairs) Reset()
- func (q *Pairs) Set(name, value []byte)
- func (q *Pairs) String(sep string) string
- func (*Pairs) Unlock()
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Pair ¶
type Pair struct {
// contains filtered or unexported fields
}
Pair represents the name and value
type Pairs ¶
type Pairs struct {
// contains filtered or unexported fields
}
Pairs holds slice of Pair
Click to show internal directories.
Click to hide internal directories.