equal
deleted
inserted
replaced
14 // apiCallParams is a map with the parameters for an API call |
14 // apiCallParams is a map with the parameters for an API call |
15 type apiCallParams map[string]string |
15 type apiCallParams map[string]string |
16 |
16 |
17 const ( |
17 const ( |
18 // GondoleVersion contains the version of the Gondole implementation |
18 // GondoleVersion contains the version of the Gondole implementation |
19 GondoleVersion = "0.0" |
19 GondoleVersion = "0.1" |
20 |
20 |
21 defaultInstanceURL = "https://mastodon.social" |
21 // API version implemented in this library |
22 apiVersion = "v1" // That is not overridable |
22 apiVersion = "v1" |
23 defaultAPIPath = "/api/" + apiVersion |
23 currentAPIPath = "/api/" + apiVersion |
24 |
24 |
25 // NoRedirect is the URI for no redirection in the App registration |
25 // NoRedirect is the URI for no redirection in the App registration |
26 NoRedirect = "urn:ietf:wg:oauth:2.0:oob" |
26 NoRedirect = "urn:ietf:wg:oauth:2.0:oob" |
27 ) |
27 ) |
28 |
28 |