Documentation ¶
Index ¶
- type KKobject
- type Map
- func (k *Map) Check() bool
- func (k *Map) Delete(kk KKobject)
- func (k *Map) DeleteByKey1(k1 interface{})
- func (k *Map) DeleteByKey2(k2 interface{})
- func (k *Map) GetByKey1(k1 interface{}) KKobject
- func (k *Map) GetByKey2(k2 interface{}) KKobject
- func (k *Map) Length() (k1len, k2len int)
- func (k *Map) RangeByKey1(f func(KKobject))
- func (k *Map) RangeByKey2(f func(KKobject))
- func (k *Map) Set(kk KKobject)
- func (k *Map) String() string
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Map ¶
type Map struct {
// contains filtered or unexported fields
}
map with double key
e.g. TcpPacket(uuid,remoteRul)
func (*Map) DeleteByKey1 ¶
func (k *Map) DeleteByKey1(k1 interface{})
delete element of kkmap by key1
func (*Map) DeleteByKey2 ¶
func (k *Map) DeleteByKey2(k2 interface{})
delete element of kkmap by key2
Click to show internal directories.
Click to hide internal directories.