package
0.0.0-20180911183212-0f8974794783
Repository: https://github.com/levenlabs/golib.git
Documentation: pkg.go.dev
# Functions
GeoIP2Reader returns a city database reader with only 1 ipv4 and 1 ipv6 address.
RandInt64 returns a random integer.
RandStr returns a random alphanumeric string of arbitrary length.
SignedCert generates a PEM encoded certificate/key pair for the given domain.
# Constants
GeoIP2IPv4 contains the only IPv4 in the geoip2 test database Location: Milton, Washington, US.
GeoIP2IPv6 contains the only IPv6 in the geoip2 test database Finland, EU.
# Structs
Response is a response for a specific domain.
# Type aliases
RoundTripper is an instance of a RoundTripper that allows you to pass the responses ahead of time per domain.