Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ComposePluginMessage ¶
ComposePluginMessage creates message of pub/sub
func CreateStopMessage ¶
CreateStopMessage creates message to stop subscriber
func ParseStopMessage ¶
ParseStopMessage parses message of stop from publisher
Types ¶
type Message ¶
type Message struct {
Type string `json:"type"`
Command string `json:"command"`
Name string `json:"name"`
BinName string `json:"binName"`
Args map[string]string `json:"args"`
}
Message format of pub/sub TODO: 構造体を外部に隠蔽する方法を調べる
type Publisher ¶
type Publisher struct{}
Publisher for plugin
Click to show internal directories.
Click to hide internal directories.