MCPcopy Create free account
hub / github.com/SolarLune/masterplan / SendMessage

Method SendMessage

project.go:1137–1147  ·  view source on GitHub ↗
(msg *Message)

Source from the content-addressed store, hash-verified

1135}
1136
1137func (project *Project) SendMessage(msg *Message) {
1138
1139 if msg.Type == "" {
1140 panic("ERROR: Message has no type.")
1141 }
1142
1143 for _, page := range project.Pages {
1144 page.SendMessage(msg)
1145 }
1146
1147}
1148
1149func (project *Project) GlobalShortcuts() {
1150

Callers 3

SaveMethod · 0.95
OpenProjectFromFunction · 0.95
SetPageMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected