Documentation
¶
Index ¶
- type Client
- func (c *Client) CreatePost(ctx context.Context, args PostArgs) (*syntax.ATURI, error)
- func (c *Client) Login(ctx context.Context, handle, appPassword string) error
- func (c *Client) RefreshAuth(ctx context.Context) error
- func (c *Client) UploadImage(ctx context.Context, image io.Reader) (*util.LexBlob, error)
- type Image
- type PostArgs
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Client ¶
type Client struct { PLCHost string PDSHost string ActorDID syntax.DID AutoRefreshAuth bool // contains filtered or unexported fields }
Client is a Bluesky API Client
func (*Client) CreatePost ¶
CreatePost creates a new post
func (*Client) RefreshAuth ¶
RefreshAuth refreshes the auth token for the client
Click to show internal directories.
Click to hide internal directories.