package
2.2.0+incompatible
Repository: https://github.com/leverly/gateway.git
Documentation: pkg.go.dev

# Functions

DefaultHTTPOption returns a HTTP Option.
GetAddrFormat returns addr format for sort, padding left by 0.
GetAddrNextFormat returns next addr format for sort, padding left by 0.
NewAnalysis returns a Analysis.
NewFastHTTPClient create FastHTTPClient instance.
NewFastHTTPClientOption create FastHTTPClient instance with default option.
NewLRUCache creates a new Cache.
PrintVersion 输出版本信息.

# Constants

MaxAddrFormat max addr format.
MinAddrFormat min addr format.

# Variables

set on build time.
set on build time.
set on build time.

# Structs

Analysis analysis struct.
Cache is an LRU cache.
FastHTTPClient fast http client.
HTTPOption http client option.
Recently recently point data.

# Interfaces

A Key may be any value that is comparable.