Documentation ¶
Index ¶
- type CableReadyController
- func (c *CableReadyController) Authenticate(sid string, env *common.SessionEnv) (*common.ConnectResult, error)
- func (c *CableReadyController) Disconnect(sid string, env *common.SessionEnv, id string, subscriptions []string) error
- func (c *CableReadyController) Perform(sid string, env *common.SessionEnv, id string, channel string, data string) (*common.CommandResult, error)
- func (c *CableReadyController) Shutdown() error
- func (c *CableReadyController) Start() error
- func (c *CableReadyController) Subscribe(sid string, env *common.SessionEnv, id string, channel string) (*common.CommandResult, error)
- func (c *CableReadyController) Unsubscribe(sid string, env *common.SessionEnv, id string, channel string) (*common.CommandResult, error)
- type Config
- type TurboController
- func (c *TurboController) Authenticate(sid string, env *common.SessionEnv) (*common.ConnectResult, error)
- func (c *TurboController) Disconnect(sid string, env *common.SessionEnv, id string, subscriptions []string) error
- func (c *TurboController) Perform(sid string, env *common.SessionEnv, id string, channel string, data string) (*common.CommandResult, error)
- func (c *TurboController) Shutdown() error
- func (c *TurboController) Start() error
- func (c *TurboController) Subscribe(sid string, env *common.SessionEnv, id string, channel string) (*common.CommandResult, error)
- func (c *TurboController) Unsubscribe(sid string, env *common.SessionEnv, id string, channel string) (*common.CommandResult, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CableReadyController ¶
type CableReadyController struct {
// contains filtered or unexported fields
}
func NewCableReadyController ¶
func NewCableReadyController(key string) *CableReadyController
func (*CableReadyController) Authenticate ¶
func (c *CableReadyController) Authenticate(sid string, env *common.SessionEnv) (*common.ConnectResult, error)
func (*CableReadyController) Disconnect ¶
func (c *CableReadyController) Disconnect(sid string, env *common.SessionEnv, id string, subscriptions []string) error
func (*CableReadyController) Perform ¶
func (c *CableReadyController) Perform(sid string, env *common.SessionEnv, id string, channel string, data string) (*common.CommandResult, error)
func (*CableReadyController) Shutdown ¶
func (c *CableReadyController) Shutdown() error
func (*CableReadyController) Start ¶
func (c *CableReadyController) Start() error
func (*CableReadyController) Subscribe ¶
func (c *CableReadyController) Subscribe(sid string, env *common.SessionEnv, id string, channel string) (*common.CommandResult, error)
func (*CableReadyController) Unsubscribe ¶
func (c *CableReadyController) Unsubscribe(sid string, env *common.SessionEnv, id string, channel string) (*common.CommandResult, error)
type TurboController ¶
type TurboController struct {
// contains filtered or unexported fields
}
func NewTurboController ¶
func NewTurboController(key string) *TurboController
func (*TurboController) Authenticate ¶
func (c *TurboController) Authenticate(sid string, env *common.SessionEnv) (*common.ConnectResult, error)
func (*TurboController) Disconnect ¶
func (c *TurboController) Disconnect(sid string, env *common.SessionEnv, id string, subscriptions []string) error
func (*TurboController) Perform ¶
func (c *TurboController) Perform(sid string, env *common.SessionEnv, id string, channel string, data string) (*common.CommandResult, error)
func (*TurboController) Shutdown ¶
func (c *TurboController) Shutdown() error
func (*TurboController) Start ¶
func (c *TurboController) Start() error
func (*TurboController) Subscribe ¶
func (c *TurboController) Subscribe(sid string, env *common.SessionEnv, id string, channel string) (*common.CommandResult, error)
func (*TurboController) Unsubscribe ¶
func (c *TurboController) Unsubscribe(sid string, env *common.SessionEnv, id string, channel string) (*common.CommandResult, error)
Click to show internal directories.
Click to hide internal directories.