mirror of
https://github.com/m1k1o/neko.git
synced 2024-07-24 14:40:50 +12:00
send: body any type.
This commit is contained in:
parent
8e13a60677
commit
ced0a89bbe
@ -173,16 +173,16 @@ type BroadcastStatus struct {
|
||||
/////////////////////////////
|
||||
|
||||
type SendUnicast struct {
|
||||
Event string `json:"event,omitempty"`
|
||||
Sender string `json:"sender"`
|
||||
Receiver string `json:"receiver"`
|
||||
Subject string `json:"subject"`
|
||||
Body string `json:"body"`
|
||||
Event string `json:"event,omitempty"`
|
||||
Sender string `json:"sender"`
|
||||
Receiver string `json:"receiver"`
|
||||
Subject string `json:"subject"`
|
||||
Body interface{} `json:"body"`
|
||||
}
|
||||
|
||||
type SendBroadcast struct {
|
||||
Event string `json:"event,omitempty"`
|
||||
Sender string `json:"sender"`
|
||||
Subject string `json:"subject"`
|
||||
Body string `json:"body"`
|
||||
Event string `json:"event,omitempty"`
|
||||
Sender string `json:"sender"`
|
||||
Subject string `json:"subject"`
|
||||
Body interface{} `json:"body"`
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user