Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Client ¶
type Client struct {
// contains filtered or unexported fields
}
func NewClient ¶
NewClient creates a new client with the default relays @param privateKey the private key to use for the libp2p host
func NewClientWithHost ¶
NewClientWithHost creates a new client with the default relays @param libp2p the libp2p host. This libp2p instance must have Relay enabled
type RequestError ¶
type RequestError struct { StatusCode model.StatusCode Message string }
func (*RequestError) Error ¶
func (e *RequestError) Error() string
Click to show internal directories.
Click to hide internal directories.