Documentation
¶
Overview ¶
********************************************************************** MicroCore Copyright 2020 - 2020 by Danyil Dobryvechir (dobrivecher@yahoo.com ddobryvechir@gmail.com) ***********************************************************************
Index ¶
- Variables
- func GetAddressWithoutPort(ip string) string
- func GetIPAddress(r *http.Request) string
- func Init() bool
- func IsIP6UsedAsIP4Container(ipBuf []byte) bool
- func LookupCountryCode(ip []byte) (string, error)
- func LookupDbInit(srcIP4, srcIP6 string, countryPropertiesSrc string, activate int) error
- func PlaceGeoInfo(r *http.Request, params map[string]string)
- func ReadIP(ip string) (ipBuf []byte, ok bool)
- func ReadIP4(ip string) (ipBuf []byte, ok bool)
- func ReadIP4ToBuf(ip string, ipBuf []byte, pos int) bool
- func ReadIP6(ip string) (ipBuf []byte, ok bool)
- func ReadIPOrString(src string) (ipBuf []byte, ok bool)
- func ReadString(ip string) (ipBuf []byte, ok bool)
- func ReadStringToBuf(buf []byte, size int, ipStr string) bool
- func WriteBufAsHex(ipBuf []byte) string
- func WriteBufAsNumber(ipBuf []byte) string
- func WriteBufInAllPresentations(data []byte) string
- func WriteIP(ipBuf []byte, onlyOne bool) string
- func WriteIP4(ipBuf []byte) string
- func WriteIP6(ipBuf []byte) string
Constants ¶
This section is empty.
Variables ¶
View Source
var CountryInfo map[string]string
Functions ¶
func GetAddressWithoutPort ¶
func GetIPAddress ¶
func IsIP6UsedAsIP4Container ¶
func LookupCountryCode ¶
func LookupDbInit ¶
func ReadIPOrString ¶
func ReadString ¶
func WriteBufAsHex ¶
func WriteBufAsNumber ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.