diff options
Diffstat (limited to 'common/gateway/compressor.go')
| -rw-r--r-- | common/gateway/compressor.go | 16 |
1 files changed, 0 insertions, 16 deletions
diff --git a/common/gateway/compressor.go b/common/gateway/compressor.go deleted file mode 100644 index c8dbb93..0000000 --- a/common/gateway/compressor.go +++ /dev/null @@ -1,16 +0,0 @@ -package gateway
-
-import "github.com/discordnova/nova/common/discord/types/payloads/gateway"
-
-// GatewayConnectionOptions is the options given to gateway when the connector is passed to it.
-type GatewayConnectionOptions struct {
- Encoding string
- TransportCompression string
-}
-
-// Compression is the interface that needs to be implemented by a generic compressor.
-type Compression interface {
- GetConnectionOptions() GatewayConnectionOptions
- DecodeMessage(data []byte) (*gateway.Payload, error)
- Reset() error
-}
|
