 Documentation
      ¶
      Documentation
      ¶
    
    
  
    
  
    Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AddFanAction ¶
type AddFanAction struct {
	// contains filtered or unexported fields
}
    type FanConn ¶
type FanConn interface {
	WriteMessage(int, []byte) error
	NextReader() (int, io.Reader, error)
	Close() error
}
    A websocket that we only write messages to
type FanOutAction ¶
type FanOutAction struct {
	// contains filtered or unexported fields
}
    func (FanOutAction) Empty ¶ added in v0.8.2
func (a FanOutAction) Empty() bool
type RemoveFanAction ¶ added in v0.8.5
type RemoveFanAction struct {
	// contains filtered or unexported fields
}
    type Room ¶
type Room struct {
	// contains filtered or unexported fields
}
    A room where messages from a source are broadcast to all the followers.
func NewRoom ¶
func NewRoom(version model.WebVersion) *Room
func (*Room) AddFan ¶
Add a fan that consumes messages from the source. Calling AddFan() after Close() will error.
type SailServer ¶
type SailServer struct {
	// contains filtered or unexported fields
}
    func ProvideSailServer ¶
func ProvideSailServer(assetServer assets.Server) SailServer
func (SailServer) Router ¶
func (s SailServer) Router() http.Handler
 Click to show internal directories. 
   Click to hide internal directories.