Documentation ¶
Index ¶
- Constants
- type Client
- func (c *Client) Admin() *admin.Service
- func (c *Client) Antennas() *antennas.Service
- func (c *Client) Clips() *clips.Service
- func (c *Client) Drive() *drive.Service
- func (c *Client) Federation() *federation.Service
- func (c *Client) Following() *following.Service
- func (c *Client) Hashtags() *hashtags.Service
- func (c *Client) LogLevel(level logrus.Level)
- func (c *Client) Meta() *meta.Service
- func (c *Client) Notes() *notes.Service
- func (c *Client) Notifications() *notifications.Service
- func (c *Client) Promo() *promo.Service
Constants ¶
View Source
const RequestTimout = 10
RequestTimout is the timeout of a request in seconds.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Client ¶
type Client struct { BaseURL string Token string HTTPClient core.HTTPClient // contains filtered or unexported fields }
Client is the main Misskey client struct.
func (*Client) Federation ¶
func (c *Client) Federation() *federation.Service
Federation contains all endpoints under /federation.
func (*Client) Meta ¶
Meta is all the endpoints under Meta in the documentation. They don't have an API pth prefix.
func (*Client) Notifications ¶
func (c *Client) Notifications() *notifications.Service
Notifications contains all endpoints under /notifications.
Click to show internal directories.
Click to hide internal directories.