stream

package
v0.2.7 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Sep 28, 2022 License: AGPL-3.0 Imports: 12 Imported by: 0

Documentation

Index

Constants

View Source
const (
	// MessageTypeChat of chat messages
	MessageTypeChat = "chat"
	// MessageTypePing of ping messages
	MessageTypePing = "ping"
	// MessageTypeStatus of status messages
	MessageTypeStatus = "status"
	// MessageTypeUsername of username messages
	MessageTypeUsername = "username"
)

Variables

This section is empty.

Functions

func Bind

func Bind(r *gin.Engine, ws *web.Service)

Bind to webservice

func NewEndpoint

func NewEndpoint(web *web.Service, channelID uuid.UUID) *endpoint

NewEndpoint of Websocket for stream

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL