Documentation ¶
Index ¶
- func ConnError(c net.Conn, data ...interface{})
- type Server
- func (s *Server) Close()
- func (s *Server) DirectPublish(topic string, msg *types.Message)
- func (s *Server) Publish(topic string, msg *types.Message)
- func (s *Server) Serve() error
- func (s *Server) Subscribe(topic string, ch chan *types.Message) chan *types.Message
- func (s *Server) Unsubscribe(topic string, ch chan *types.Message)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
Click to show internal directories.
Click to hide internal directories.