Browse Source

Comments, TODO list.

Bruce Marriner 9 years ago
parent
commit
7738fea746
1 changed files with 10 additions and 9 deletions
  1. 10 9
      restapi.go

+ 10 - 9
restapi.go

@@ -22,13 +22,16 @@ import (
 // Please let me know if you know of any others.
 const (
 	// Base URLS
-	DISCORD         = "http://discordapp.com"
-	API             = DISCORD + "/api"
-	SERVERS         = API + "/guilds"
-	CHANNELS        = API + "/channels"
-	USERS           = API + "/users"
-	LOGIN           = API + "/auth/login"
-	LOGOUT          = API + "/auth/logout"
+	DISCORD  = "http://discordapp.com"
+	API      = DISCORD + "/api"
+	SERVERS  = API + "/guilds"
+	CHANNELS = API + "/channels"
+	USERS    = API + "/users"
+	LOGIN    = API + "/auth/login"
+	LOGOUT   = API + "/auth/logout"
+	GATEWAY  = API + "/gateway"
+
+	// Constants not implemented below yet. TODO tracker :)
 	REGISTER        = API + "/auth/register"
 	INVITE          = API + "/invite"
 	TRACK           = API + "/track"
@@ -41,8 +44,6 @@ const (
 	ICE             = API + "/voice/ice"
 	REPORT          = API + "/report"
 	INTEGRATIONS    = API + "/integrations"
-	GATEWAY         = API + "/gateway"
-
 	// Authenticated User Info
 	AU             = USERS + "/@me"
 	AU_DEVICES     = ME + "/devices"