Documentation
¶
Index ¶
- Variables
- func BytesToInt(bs []byte) int
- func CombineUint32(a, b uint32) uint64
- func DisassembleUint64(x uint64) (uint32, uint32)
- func GetCurrentPath() string
- func GetLocalIP() (ipv4 string, err error)
- func IntToBytes(n int) []byte
- type ConcurrentHashMap
- type ConcurrentHashMapIterator
- type MapEntry
- type MapIterator
- type Worker
Constants ¶
This section is empty.
Variables ¶
View Source
var ( RootPath string Configurations map[string]string )
Functions ¶
func DisassembleUint64 ¶
DisassembleUint64 把一个uint64拆成两个uint32
func GetCurrentPath ¶
func GetCurrentPath() string
Types ¶
type ConcurrentHashMap ¶
type ConcurrentHashMap struct {
// contains filtered or unexported fields
}
func NewConcurrentHashMap ¶
func NewConcurrentHashMap(segment int, capacity int) *ConcurrentHashMap
func (*ConcurrentHashMap) NewIterator ¶
func (c *ConcurrentHashMap) NewIterator() *ConcurrentHashMapIterator
func (*ConcurrentHashMap) Set ¶
func (c *ConcurrentHashMap) Set(key string, value any)
type ConcurrentHashMapIterator ¶
type ConcurrentHashMapIterator struct {
// contains filtered or unexported fields
}
func (*ConcurrentHashMapIterator) Next ¶
func (iter *ConcurrentHashMapIterator) Next() *MapEntry
type MapIterator ¶
type MapIterator interface {
Next() *MapEntry
}
Click to show internal directories.
Click to hide internal directories.