Versions in this module Expand all Collapse all v0 v0.3.0 Jul 1, 2020 v0.2.1 Oct 15, 2019 Changes in this version + const Livenet + const Testnet + func Init(cfg *Config) + type APIError struct + Code int + Message string + Reason string + func (ae *APIError) Error() string + type BackendImplementation struct + APIToken string + HTTPClient *http.Client + MaxNetworkRetries int + URLAuthority string + func GetAPIClient() *BackendImplementation + func (s *BackendImplementation) Do(req *http.Request, v interface{}) error + func (s *BackendImplementation) NewRequest(method, path string, body io.Reader) (*http.Request, error) + type Config struct + APIToken string + HTTPClient *http.Client + Network Network + type Network string + func GetNetwork() Network