core

package
v0.1.10 Latest Latest
Warning

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

Go to latest
Published: Oct 5, 2021 License: MIT Imports: 22 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetBroadcaster

func GetBroadcaster() *models.Broadcaster

GetBroadcaster will return the details of the currently active broadcaster.

func GetCurrentBroadcast

func GetCurrentBroadcast() *models.CurrentBroadcast

GetCurrentBroadcast will return the currently active broadcast.

func GetStatus

func GetStatus() models.Status

GetStatus gets the status of the system.

func IsStreamConnected

func IsStreamConnected() bool

IsStreamConnected checks if the stream is connected or not.

func RemoveChatClient

func RemoveChatClient(clientID string)

RemoveChatClient removes a client from the active clients record.

func SetStreamAsDisconnected

func SetStreamAsDisconnected()

SetStreamAsDisconnected sets the stream as disconnected.

func SetViewerIDActive

func SetViewerIDActive(id string)

SetViewerIDActive sets a client as active and connected.

func Start

func Start() error

Start starts up the core processing.

func StartOfflineCleanupTimer

func StartOfflineCleanupTimer()

StartOfflineCleanupTimer will fire a cleanup after n minutes being disconnected.

func StopOfflineCleanupTimer

func StopOfflineCleanupTimer()

StopOfflineCleanupTimer will stop the previous cleanup timer.

Types

This section is empty.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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