MCPcopy Index your code
hub / github.com/link1st/gowebsocket / NewTestMsg

Function NewTestMsg

models/msg_model.go:28–37  ·  view source on GitHub ↗
(from string, Msg string)

Source from the content-addressed store, hash-verified

26}
27
28func NewTestMsg(from string, Msg string) (message *Message) {
29
30 message = &Message{
31 Type: MessageTypeText,
32 From: from,
33 Msg: Msg,
34 }
35
36 return
37}
38
39func getTextMsgData(cmd, uuId, msgId, message string) string {
40 textMsg := NewTestMsg(uuId, message)

Callers 1

getTextMsgDataFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected