|
@@ -100,12 +100,6 @@ type Session struct {
|
|
wsMutex sync.Mutex
|
|
wsMutex sync.Mutex
|
|
}
|
|
}
|
|
|
|
|
|
-type rateLimitMutex struct {
|
|
|
|
- sync.Mutex
|
|
|
|
- url map[string]*sync.Mutex
|
|
|
|
- // bucket map[string]*sync.Mutex // TODO :)
|
|
|
|
-}
|
|
|
|
-
|
|
|
|
// A VoiceRegion stores data for a specific voice region server.
|
|
// A VoiceRegion stores data for a specific voice region server.
|
|
type VoiceRegion struct {
|
|
type VoiceRegion struct {
|
|
ID string `json:"id"`
|
|
ID string `json:"id"`
|