MCPcopy
hub / github.com/ph4ntonn/Stowaway / Message

Interface Message

protocol/protocol.go:72–80  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

70const TEMP_ROUTE = "THEREISNOROUTE"
71
72type Message interface {
73 ConstructHeader()
74 ConstructData(*Header, interface{}, bool)
75 ConstructSuffix()
76 DeconstructHeader()
77 DeconstructData() (*Header, interface{}, error)
78 DeconstructSuffix()
79 SendMessage()
80}
81
82func ConstructMessage(message Message, header *Header, mess interface{}, isPass bool) {
83 message.ConstructData(header, mess, isPass)

Callers 14

ConstructMessageFunction · 0.65
ConstructMessageFunction · 0.65
ConstructMessageFunction · 0.65
DestructMessageFunction · 0.65
DestructMessageFunction · 0.65
DestructMessageFunction · 0.65
SendFileStatMethod · 0.95
CheckFileStatMethod · 0.95
UploadMethod · 0.95
NormalActiveFunction · 0.95
NormalPassiveFunction · 0.95
SoReusePassiveFunction · 0.95

Implementers 1

RawMessageprotocol/raw.go

Calls

no outgoing calls

Tested by

no test coverage detected