mid day commit
This commit is contained in:
13
relay/storage/structs.go
Normal file
13
relay/storage/structs.go
Normal file
@@ -0,0 +1,13 @@
|
||||
package storage
|
||||
|
||||
import (
|
||||
"sync"
|
||||
|
||||
"github.com/disgoorg/snowflake/v2"
|
||||
)
|
||||
|
||||
type ChannelStorage struct {
|
||||
mutex sync.RWMutex
|
||||
filename string
|
||||
Channels map[snowflake.ID]bool `json:"channels"`
|
||||
}
|
||||
Reference in New Issue
Block a user