Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ChatMessage ¶
type PlatformClient ¶
type PlatformClient struct { Chat chan ChatMessage // contains filtered or unexported fields }
func NewPlatformClient ¶
func NewPlatformClient(name string) *PlatformClient
func (*PlatformClient) Connect ¶
func (c *PlatformClient) Connect()
func (*PlatformClient) SendMessage ¶
func (c *PlatformClient) SendMessage(m string)
type StdinDemux ¶
type StdinDemux struct {
// contains filtered or unexported fields
}
func StdinDemuxInstance ¶
func StdinDemuxInstance() *StdinDemux
func (*StdinDemux) Listen ¶
func (d *StdinDemux) Listen()
func (*StdinDemux) Register ¶
func (d *StdinDemux) Register(name string, chatCh chan<- ChatMessage)
Click to show internal directories.
Click to hide internal directories.