Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Config ¶
type Config struct { Name string RPCUser string RPCPassword string RPCServer string RPCCert string NoTLS bool TLSSkipVerify bool Proxy string ProxyUser string ProxyPass string }
Config file
type RPCError ¶
type RPCError struct { Code RPCErrorCode `json:"code,omitempty"` Message string `json:"message,omitempty"` }
RPCError represents an error that is used as a part of a JSON-RPC Response object.
type RPCErrorCode ¶
type RPCErrorCode int
A specific type is used to help ensure the wrong errors aren't used.
Click to show internal directories.
Click to hide internal directories.