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

Function NewMessage

message.go:35–41  ·  view source on GitHub ↗
(messageType string, id interface{}, data interface{})

Source from the content-addressed store, hash-verified

33}
34
35func NewMessage(messageType string, id interface{}, data interface{}) *Message {
36 return &Message{
37 Type: messageType,
38 ID: id,
39 Data: data,
40 }
41}
42
43// Dispatcher simply calls functions when any project (not just the current one) changes; this is used to do things only when necessary, rather than constantly.
44type Dispatcher struct {

Callers 15

ApplyMethod · 0.85
UpdateMethod · 0.85
DeleteCardsMethod · 0.85
RestoreCardsMethod · 0.85
PutMethod · 0.85
DestroyMethod · 0.85
LinkMethod · 0.85
UnlinkMethod · 0.85
SelectMethod · 0.85
DeselectMethod · 0.85
StartResizingMethod · 0.85
StopResizingMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected