Documentation ¶
Index ¶
Constants ¶
View Source
const ( EtherfaceEndpoint = "https://etherface.rss3.io/v1" DefaultTimeout = 3 * time.Second DefaultAttempts = 3 )
Variables ¶
View Source
var (
ErrorNoResults = errors.New("no results")
)
Functions ¶
This section is empty.
Types ¶
type Client ¶
func NewEtherfaceClient ¶
func NewEtherfaceClient(options ...ClientOption) (Client, error)
type ClientOption ¶
type ClientOption func(client *etherfaceClient) error
func WithAttempts ¶
func WithAttempts(attempts uint) ClientOption
func WithTimeout ¶
func WithTimeout(timeout time.Duration) ClientOption
Click to show internal directories.
Click to hide internal directories.