MCPcopy
hub / github.com/link1st/gowebsocket / getTextMsgData

Function getTextMsgData

models/msg_model.go:39–44  ·  view source on GitHub ↗
(cmd, uuId, msgId, message string)

Source from the content-addressed store, hash-verified

37}
38
39func getTextMsgData(cmd, uuId, msgId, message string) string {
40 textMsg := NewTestMsg(uuId, message)
41 head := NewResponseHead(msgId, cmd, common.OK, "Ok", textMsg)
42
43 return head.String()
44}
45
46// 文本消息
47func GetMsgData(uuId, msgId, cmd, message string) string {

Callers 4

GetMsgDataFunction · 0.85
GetTextMsgDataFunction · 0.85
GetTextMsgDataEnterFunction · 0.85
GetTextMsgDataExitFunction · 0.85

Calls 3

NewTestMsgFunction · 0.85
NewResponseHeadFunction · 0.85
StringMethod · 0.45

Tested by

no test coverage detected