MCPcopy Create free account
hub / github.com/chanify/chanify / Marshal

Method Marshal

model/message.go:266–269  ·  view source on GitHub ↗

Marshal return binary data

()

Source from the content-addressed store, hash-verified

264
265// Marshal return binary data
266func (m *Message) Marshal() []byte {
267 data, _ := proto.Marshal(&m.Message)
268 return data
269}
270
271func (m *Message) fixChannel() {
272 if len(m.Channel) <= 0 {

Callers 15

EncryptDataMethod · 0.95
EncryptMethod · 0.80
marshalPublicKeyFunction · 0.80
sendForwardMethod · 0.80
JSONMethod · 0.80
initFunction · 0.80
LinkContentMethod · 0.80
TimelineContentMethod · 0.80
TextContentMethod · 0.80
ActionContentMethod · 0.80
FileContentMethod · 0.80
ImageContentMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected