Documentation ¶
Index ¶
- type Client
- func (c *Client) ApplicationLog(numberOfLogs int, startFromHead bool) (string, error)
- func (c *Client) AuthRequests() ([]entity.AuthRequest, error)
- func (c *Client) KnownPeerConfig(peerID string) (*config.KnownPeer, error)
- func (c *Client) KnownPeers() ([]entity.KnownPeersResponse, error)
- func (c *Client) P2pDebugInfo() (*entity.P2pDebugInfo, error)
- func (c *Client) PeerInfo() (*entity.PeerInfo, error)
- func (c *Client) RemovePeer(peerID string) error
- func (c *Client) ReplyFriendRequest(peerID, alias string, decline bool) error
- func (c *Client) SendFriendRequest(peerID, alias string) error
- func (c *Client) UpdateMySettings(name string) error
- func (c *Client) UpdatePeerSettings(request entity.UpdatePeerSettingsRequest) error
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 (*Client) ApplicationLog ¶
ApplicationLog send numberOfLogs = 0 to print all logs
func (*Client) AuthRequests ¶
func (c *Client) AuthRequests() ([]entity.AuthRequest, error)
func (*Client) KnownPeerConfig ¶
func (*Client) KnownPeers ¶
func (c *Client) KnownPeers() ([]entity.KnownPeersResponse, error)
func (*Client) P2pDebugInfo ¶
func (c *Client) P2pDebugInfo() (*entity.P2pDebugInfo, error)
func (*Client) RemovePeer ¶
func (*Client) ReplyFriendRequest ¶
func (*Client) SendFriendRequest ¶
func (*Client) UpdateMySettings ¶
func (*Client) UpdatePeerSettings ¶
func (c *Client) UpdatePeerSettings(request entity.UpdatePeerSettingsRequest) error
Click to show internal directories.
Click to hide internal directories.