Documentation ¶
Index ¶
Constants ¶
View Source
const ( FormatJSON = "json" FormatCBOR = "cbor" )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Client ¶
type Client struct { Handler Handler // contains filtered or unexported fields }
func NewClient ¶
func NewClient(config *ClientConfig) (*Client, error)
type ClientConfig ¶
type ClientConfig struct { WebsocketURL string WantedDids []string WantedCollections []string ExtraHeaders map[string]string }
func DefaultClientConfig ¶
func DefaultClientConfig() *ClientConfig
Click to show internal directories.
Click to hide internal directories.