Versions in this module Expand all Collapse all v0 v0.1.0 Apr 5, 2021 v0.0.1 Apr 30, 2020 Changes in this version + var NotReadyError = errors.New("not ready") + type Connection struct + func New(options ...Option) *Connection + func (c *Connection) Close() (err error) + func (c *Connection) Connect() (err error) + func (c *Connection) Get(urlToGet string) (resp *http.Response, err error) + func (c *Connection) PublicIP() string + type Option func(c *Connection) + func OptionDebug(debug bool) Option + func OptionHeaders(headers map[string]string) Option + func OptionName(name string) Option + func OptionTimeout(timeout time.Duration) Option + func OptionUseTor(usetor bool) Option