mirror of
https://github.com/oarkflow/mq.git
synced 2025-10-07 08:50:54 +08:00
feat: remove un-necessary dependencies
This commit is contained in:
@@ -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 {
|
||||
|
Reference in New Issue
Block a user