Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
Functions ¶
func MessageType ¶
Types ¶
type DaemonMsg ¶
type DocumentMsg ¶
func NewDocumentMsg ¶
func NewDocumentMsg(filename string, msg string) *DocumentMsg
func (*DocumentMsg) Instance ¶
func (m *DocumentMsg) Instance() DocumentMsg
type MessageData ¶
type MessageData interface { string | ProgressMsg | DaemonMsg | ErrorMsg | DocumentMsg }
type ProgressMsg ¶
type ProgressMsg struct { Address base.Address `json:"address"` Have int64 `json:"have"` Want int64 `json:"want"` }
func NewProgressMsg ¶
func NewProgressMsg(have int64, want int64, addrs ...base.Address) *ProgressMsg
func (*ProgressMsg) Instance ¶
func (m *ProgressMsg) Instance() ProgressMsg
Click to show internal directories.
Click to hide internal directories.