module
Version:
v1.9.4
Opens a new window with list of versions in this module.
Published: Nov 13, 2020
License: Apache-2.0
Opens a new window with license information.
README
¶
gost
A go sdk for Apache Dubbo-go.
bytes
bytes.Buffer pool
slice pool
container
Queue
HashSet
log
output log with color and provides pretty format string
math
net
- GetLocalIP() (string, error)
- IsSameAddr(addr1, addr2 net.Addr) bool
- ListenOnTCPRandomPort(ip string) (*net.TCPListener, error)
- ListenOnUDPRandomPort(ip string) (*net.UDPConn, error)
page
Page for pagination. It contains the most common functions like offset, pagesize.
runtime
Using go
in a safe way.
Run a goroutine in a safe way whose task is long live as the whole process life time.
runtime
Using go
in a safe way.
Run a goroutine in a safe way whose task is long live as the whole process life time.
sync
strings
check a var is nil or not.
time
Timer optimization through time-wheel.
Directories
¶
|
|
container
|
|
|
|
|
|
|
|
package gxlog is based on log4go.
|
package gxlog is based on log4go. |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Package gxtime encapsulates some golang.time functions Package gxtime encapsulates some golang.time functions Package gxtime encapsulates some golang.time functions ref: https://github.com/AlexStocks/go-practice/blob/master/time/siddontang_time_wheel.go
|
Package gxtime encapsulates some golang.time functions Package gxtime encapsulates some golang.time functions Package gxtime encapsulates some golang.time functions ref: https://github.com/AlexStocks/go-practice/blob/master/time/siddontang_time_wheel.go |
Click to show internal directories.
Click to hide internal directories.