Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MessageIn ¶
type MessageIn struct { Msg string `json:"msg"` Payload json.RawMessage `json:"payload,omitempty"` }
MessageIn represents a message from electron (going in)
func (*MessageIn) Callback ¶
func (m *MessageIn) Callback(callback func(m *MessageIn) MessageOut) MessageOut
type MessageOut ¶
type MessageOut struct { Status MsgState `json:"status"` Msg string `json:"msg"` Payload interface{} `json:"payload,omitempty"` }
MessageOut represents a message for electron (going out)
Click to show internal directories.
Click to hide internal directories.