Procházet zdrojové kódy

Removed "Sample" from VoiceRegions struct

Bruce Marriner před 9 roky
rodič
revize
4316dfe9b9
1 změnil soubory, kde provedl 4 přidání a 4 odebrání
  1. 4 4
      structs.go

+ 4 - 4
structs.go

@@ -27,10 +27,10 @@ type Embed struct { // TODO figure this out
 
 // A VoiceRegion stores data for a specific voice region server.
 type VoiceRegion struct {
-	ID             string `json:"id"`
-	Name           string `json:"name"`
-	SampleHostname string `json:"sample_hostname"`
-	SamplePort     int    `json:"sample_port"`
+	ID       string `json:"id"`
+	Name     string `json:"name"`
+	Hostname string `json:"sample_hostname"`
+	Port     int    `json:"sample_port"`
 }
 
 // A VoiceICE stores data for voice ICE servers.