Versions in this module Expand all Collapse all v0 v0.0.1 Jul 18, 2017 Changes in this version + func Asset(name string) ([]byte, error) + func AssetDir(name string) ([]string, error) + func AssetInfo(name string) (os.FileInfo, error) + func AssetNames() []string + func MustAsset(name string) []byte + func RestoreAsset(dir, name string) error + func RestoreAssets(dir, name string) error + type Client struct + func NewClient(ws *websocket.Conn, server *Server) *Client + func (c *Client) Conn() *websocket.Conn + func (c *Client) Done() + func (c *Client) Listen() + func (c *Client) Write(msg *Message) + type Message struct + Author string + Data map[string]interface{} + func (self *Message) String() string + type Plugin struct + func New(qChan qtypes.QChan, cfg *config.Config, name string) (Plugin, error) + func (p *Plugin) Listen() + func (p *Plugin) Run() + func (p *Plugin) SendToWS() + func (p *Plugin) Serve() + type Server struct + func NewServer(pattern string) *Server + func (s *Server) Add(c *Client) + func (s *Server) Del(c *Client) + func (s *Server) Done() + func (s *Server) Err(err error) + func (s *Server) Listen() + func (s *Server) SendAll(msg *Message)