Documentation ¶
Index ¶
- func AddBroadcastChannel(id interface{}, ch chan<- []byte)
- func AddMonitorChannel(id interface{}, ch chan<- *service.Node)
- func RemoveBroadcastChannel(id interface{})
- func RemoveMonitorChannel(id interface{})
- func SmudgeToTamTamNode(node *smudge.Node) *service.Node
- func SmudgeToTamTamStatus(s smudge.NodeStatus) service.Status
- func StatusToString(s service.Status) string
- type SmudgeLogger
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AddBroadcastChannel ¶
func AddBroadcastChannel(id interface{}, ch chan<- []byte)
AddBroadcastChannel adds a broadcast channel
func AddMonitorChannel ¶
AddMonitorChannel adds a monitor channel
func RemoveBroadcastChannel ¶
func RemoveBroadcastChannel(id interface{})
RemoveBroadcastChannel removes a broadcast channel
func RemoveMonitorChannel ¶
func RemoveMonitorChannel(id interface{})
RemoveMonitorChannel removes a monitor channel
func SmudgeToTamTamNode ¶
SmudgeToTamTamNode converts a smudge node to a TamTam node
func SmudgeToTamTamStatus ¶
func SmudgeToTamTamStatus(s smudge.NodeStatus) service.Status
SmudgeToTamTamStatus converts a smudge node status to a TamTam status
func StatusToString ¶
StatusToString converts a TamTam status to a string
Types ¶
type SmudgeLogger ¶
type SmudgeLogger struct { }
SmudgeLogger allows us to use our own logger with SmudgeLogger
Click to show internal directories.
Click to hide internal directories.