A go sdk for Apache Dubbo-go.
- BytesBufferPool
bytes.Buffer pool
- SlicePool
slice pool
- queue
Queue
- set
HashSet
output log with color and provides pretty format string
- Decimal
- GetLocalIP() (string, error)
- IsSameAddr(addr1, addr2 net.Addr) bool
- ListenOnTCPRandomPort(ip string) (*net.TCPListener, error)
- ListenOnUDPRandomPort(ip string) (*net.UDPConn, error)
Page for pagination. It contains the most common functions like offset, pagesize.
- GoSafely
Using
go
in a safe way.
- GoUnterminated
Run a goroutine in a safe way whose task is long live as the whole process life time.
- GoSafely
Using
go
in a safe way.
- GoUnterminated
Run a goroutine in a safe way whose task is long live as the whole process life time.
- TaskPool
- IsNil
check a var is nil or not.
Timer optimization through time-wheel.