Explorar o código

Added OAuth2 Application endpoints

Bruce Marriner %!s(int64=8) %!d(string=hai) anos
pai
achega
798640ecf7
Modificáronse 1 ficheiros con 4 adicións e 0 borrados
  1. 4 0
      endpoints.go

+ 4 - 0
endpoints.go

@@ -85,4 +85,8 @@ var (
 	INTEGRATIONS_JOIN = func(iID string) string { return API + "integrations/" + iID + "/join" }
 
 	EMOJI = func(eID string) string { return API + "emojis/" + eID + ".png" }
+
+	OAUTH2       = API + "oauth2/"
+	APPLICATIONS = OAUTH2 + "applications"
+	APPLICATION  = func(aID string) string { return APPLICATIONS + "/" + aID }
 )