Documentation
¶
Index ¶
- Constants
- func InitRealtimeClient() *ably.Realtime
- func Jsonify(i interface{}) string
- func RealtimeEnterPresence(client *ably.Realtime)
- func RealtimeLeavePresence(client *ably.Realtime)
- func RealtimePublish(client *ably.Realtime, message string)
- func RealtimeSubscribeToEvent(client *ably.Realtime) func()
Constants ¶
View Source
const AblyKey = "ABLY_KEY"
View Source
const ChannelName = "chat"
View Source
const EventName = "message"
View Source
const UserName = "testUser"
Variables ¶
This section is empty.
Functions ¶
func InitRealtimeClient ¶
func RealtimeEnterPresence ¶
func RealtimeLeavePresence ¶
func RealtimePublish ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.