Documentation ¶
Index ¶
Constants ¶
View Source
const ( BASE_DIR = "~/Library/Application Support/" DIR = "btcwalletclient" SERVER_RPC_CERT = "rpc.cert" RPCUSER = "na-dev" RPCPASS = "password123" SERVER_URI = "127.0.0.1:5000" FALLBACK_HOST = "127.0.0.1" )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Config ¶
type Config struct { Directory string ServerRpcCert string ServerUri string PublicPassphrase []byte RpcUser string RpcPass string WsEndpoint string // params refers to the bitcoin network i.e. testnet, mainnet, etc. Params string DisableTLS bool // bytes for pem encoded cert chain used for the tls connection. No effect if the DisableTLS param is true. Certificates []byte // DisableAutoReconnect specifies the client should not automatically reconnect to the server if the connection is lost. DisableAutoReconnect bool // DisableConnectOnNew specifies the client should not automatically connect to the server when a new client is created. DisableConnectOnNew bool // HTTPPostMode instructs the client to run using multiple independent connections issuing HTTP POST requests instead of using the default // of websockets. HTTPPostMode bool }
config struct
Click to show internal directories.
Click to hide internal directories.