Documentation
¶
Index ¶
- type Client
- func (c *Client) Follow(ctx context.Context, actorDid string, targetDid string) error
- func (c *Client) GetFollowers(ctx context.Context, did string) ([]string, error)
- func (c *Client) GetFollowersNotFollowing(ctx context.Context, did string) ([]string, error)
- func (c *Client) Unfollow(ctx context.Context, actorDid string, targetDid string) error
- type DidsResponse
- type Follow
- type Unfollow
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Client ¶
type Client struct { APIRoot string // contains filtered or unexported fields }
func (*Client) GetFollowers ¶
func (*Client) GetFollowersNotFollowing ¶
type DidsResponse ¶
type DidsResponse struct {
DIDs []string `json:"dids"`
}
Click to show internal directories.
Click to hide internal directories.