implement guild semaphore locking

This commit is contained in:
wish
2023-03-09 17:31:43 +11:00
parent 9a8edf0b64
commit d5dc15fc93
4 changed files with 25 additions and 17 deletions

View File

@@ -38,6 +38,7 @@ type Server struct {
sync.Mutex
Channels []*Server
ID uint16
GlobalID string
IP string
Port uint16
logger *zap.Logger