Versions in this module Expand all Collapse all v1 v1.6.0 Oct 14, 2016 Changes in this version + const UDPPacketMaxLength + var ErrEmptyIP = errors.New("empty string given for ip") + var ErrNotFourOctets = errors.New("Wrong number of octets") + var ErrNotHostColonPort = errors.New("expecting host:port") + func GetJSON(url string, out interface{}) error + func HostIP() (net.IP, error) + func NewRand(seed int64) *rand.Rand + func PackIPAsUint32(ip net.IP) uint32 + func ParseIPToUint32(ip string) (uint32, error) + func ParsePort(portString string) (uint16, error) + func ReadJSON(resp *http.Response, out interface{}) error + func TimeToMicrosecondsSinceEpochInt64(t time.Time) int64 + type AgentClientUDP struct + func NewAgentClientUDP(hostPort string, maxPacketSize int) (*AgentClientUDP, error) + func (a *AgentClientUDP) Close() error + func (a *AgentClientUDP) EmitZipkinBatch(spans []*zipkincore.Span) error + type RateLimiter interface + CheckCredit func(itemCost float64) bool + func NewRateLimiter(creditsPerSecond float64) RateLimiter Incompatible versions in this module v2.24.0+incompatible Jun 14, 2020 v2.20.1+incompatible Nov 8, 2019