Documentation ¶ Index ¶ type IntMap func (m *IntMap) Get(key string) (val uint64, found bool) func (m *IntMap) Put(key string, val uint64) (err error) func (m *IntMap) Remove(key string) (err error) Constants ¶ This section is empty. Variables ¶ This section is empty. Functions ¶ This section is empty. Types ¶ type IntMap ¶ type IntMap struct { // contains filtered or unexported fields } IntMap Used to store type mappings of string and uint64 and is thread safe. This is especially useful in protocol scenarios where string ID identifiers are used func (*IntMap) Get ¶ func (m *IntMap) Get(key string) (val uint64, found bool) func (*IntMap) Put ¶ func (m *IntMap) Put(key string, val uint64) (err error) func (*IntMap) Remove ¶ func (m *IntMap) Remove(key string) (err error) Source Files ¶ View all Source files hashmap.go Click to show internal directories. Click to hide internal directories.