Documentation ¶
Index ¶
- type Chat
- type Instance
- func (i *Instance) Join(session *websockets.Session, creation bool)
- func (i *Instance) Leave(session *websockets.Session)
- func (i *Instance) Methods() map[string]websockets.Method
- func (i *Instance) Resume(_ *websockets.Session) (result any, error *jsonrpc.Error)
- func (i *Instance) Start(_ *websockets.Session) (result any, error *jsonrpc.Error)
- type Message
- type User
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Chat ¶
type Chat struct{}
func (*Chat) DisplayName ¶
func (*Chat) New ¶
func (c *Chat) New() websockets.Instance
type Instance ¶
type Instance struct { websockets.BaseInstance // contains filtered or unexported fields }
func (*Instance) Leave ¶
func (i *Instance) Leave(session *websockets.Session)
Click to show internal directories.
Click to hide internal directories.