Versions in this module Expand all Collapse all v0 v0.1.0 Aug 25, 2023 Changes in this version + type Client struct + Conf Config + Database cidranger.Ranger + HTTPClient *http.Client + func NewClient(conf Config) (client *Client, err error) + func (c *Client) FindIP(query net.IP) (bool, string) + func (c *Client) StartServer() error + func (c *Client) Update() (err error) + type Config struct + DatabaseDownloadURL string + DatabaseUpdateInterval string + Debug bool + WebserverPort string + WebserverToken string + type IpEndpointResponse = struct + IP string + Proxy bool + Rule string