package
0.15.5
Repository: https://github.com/chia-network/go-chia-libs.git
Documentation: pkg.go.dev

# Functions

SlogDebug returns a text handler preconfigured to DEBUG log level.
SlogError returns a text handler preconfigured to ERROR log level.
SlogInfo returns a text handler preconfigured to INFO log level.
SlogWarn returns a text handler preconfigured to WARN log level.

# Constants

ServiceCrawler crawler service.
ServiceDaemon the daemon.
ServiceDataLayer datalayer service.
ServiceFarmer the farmer service.
ServiceFullNode the full node service.
ServiceHarvester the harvester service.
ServicePeer full node service, but for communicating with full nodes using the public protocol.
ServiceTimelord is the timelord service.
ServiceWallet the wallet service.

# Structs

Request is a wrapped http.Request that indicates the service we're making the RPC call to.

# Interfaces

Client defines the interface for a client HTTP (standard RPC) and websockets are the two supported now.

# Type aliases

ClientOptionFunc can be used to customize a new RPC client.
ConfigOptionFunc used to specify how to load configuration for the RPC client.
DisconnectHandler the function to call when the client is disconnected.
Endpoint represents and RPC Method.
ReconnectHandler the function to call when the client is reconnected.
ServiceType is a type that refers to a particular service.
WebsocketResponseHandler is a function that is called to process a received websocket response.