Documentation ¶
Index ¶
- type KeyType
- type SyncmapName
- type SyncmapNameMap
- func (m *SyncmapNameMap) Delete(k KeyType)
- func (m *SyncmapNameMap) Get(k KeyType) (*ValueType, bool)
- func (m *SyncmapNameMap) GetOrPut(k KeyType, v *ValueType) (*ValueType, bool)
- func (m *SyncmapNameMap) ListKeys() []KeyType
- func (m *SyncmapNameMap) ListValues() []*ValueType
- func (m *SyncmapNameMap) Put(k KeyType, v *ValueType)
- func (m *SyncmapNameMap) Range(i func(k KeyType, v *ValueType) bool)
- type ValueType
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type SyncmapName ¶
type SyncmapName string // nolint
type SyncmapNameMap ¶
type SyncmapNameMap struct {
// contains filtered or unexported fields
}
SyncmapNameMap -
func NewSyncmapNameMap ¶
func NewSyncmapNameMap() *SyncmapNameMap
NewSyncmapNameMap constructs a new SyncMap
func (*SyncmapNameMap) GetOrPut ¶
func (m *SyncmapNameMap) GetOrPut(k KeyType, v *ValueType) (*ValueType, bool)
GetOrPut -
func (*SyncmapNameMap) ListKeys ¶ added in v0.11.0
func (m *SyncmapNameMap) ListKeys() []KeyType
ListKeys -
func (*SyncmapNameMap) ListValues ¶ added in v0.11.0
func (m *SyncmapNameMap) ListValues() []*ValueType
ListValues -
Click to show internal directories.
Click to hide internal directories.