package
0.0.0-20190722071344-ea1d8b2dbe68
Repository: https://github.com/arxanchain/sdk-go-common.git
Documentation: pkg.go.dev
# Functions
DecodeBody is used to JSON decode a body.
DefaultConfig returns a default configuration for the client.
DefaultNonPooledConfig returns a default configuration for the client which does not pool connections.
EncodeBody is used to encode a request body.
NewClient returns a new client.
NewHttpClient returns an http client configured with the given Transport and TLS config.
RequireOK is used to wrap DoRequest.
TLSConfig is used to generate a TLSClientConfig that's useful for talking to Rest using TLS.
# Structs
Client provides a client to the Rest API.
Config is used to configure the creation of a client.
CryptoConfig is used to crypto transation between wasabi and client.
HttpBasicAuth is used to authenticate http client with HTTP Basic Authentication.
Request is used to help build up a request.
TLSConfig is used to generate a TLSClientConfig that's useful for talking to Rest using TLS.
# Interfaces
No description provided by the author