equal
deleted
inserted
replaced
24 } |
24 } |
25 |
25 |
26 defaultInstanceURL = "https://mastodon.social" |
26 defaultInstanceURL = "https://mastodon.social" |
27 ) |
27 ) |
28 |
28 |
29 // Config holds our parameters |
29 // Server holds our application details |
30 type Server struct { |
30 type Server struct { |
31 ID string `json:"id"` |
31 ID string `json:"id"` |
32 Name string `json:"name"` |
32 Name string `json:"name"` |
33 BearerToken string `json:"bearer_token"` |
33 BearerToken string `json:"bearer_token"` |
34 APIBase string `json:"base_url"` |
34 APIBase string `json:"base_url"` |