You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
|
|
|
package api
|
|
|
|
|
|
|
|
|
|
import "github.com/RasmusLindroth/go-mastodon"
|
|
|
|
|
|
|
|
|
|
type RequestData struct {
|
|
|
|
|
MinID mastodon.ID
|
|
|
|
|
MaxID mastodon.ID
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
type AccountClient struct {
|
|
|
|
|
Client *mastodon.Client
|
|
|
|
|
Streams map[string]*Stream
|
|
|
|
|
Me *mastodon.Account
|
|
|
|
|
WSClient *mastodon.WSClient
|
|
|
|
|
InstanceOld *mastodon.Instance
|
|
|
|
|
Instance *mastodon.InstanceV2
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
type User struct {
|
|
|
|
|
Data *mastodon.Account
|
|
|
|
|
Relation *mastodon.Relationship
|
|
|
|
|
AdditionalData interface{}
|
|
|
|
|
}
|