feat: remove un-necessary dependencies

This commit is contained in:
sujit
2024-10-15 20:34:56 +05:45
parent 8d96882d95
commit e9f98a0816
7 changed files with 18 additions and 18 deletions

View File

@@ -11,9 +11,9 @@ import (
type Message struct {
Headers map[string]string `msgpack:"h"`
Queue string `msgpack:"q"`
Command consts.CMD `msgpack:"c"`
Payload []byte `msgpack:"p"`
m sync.RWMutex
Command consts.CMD `msgpack:"c"`
}
func NewMessage(cmd consts.CMD, payload []byte, queue string, headers map[string]string) *Message {