overlays

package
v3.9.0 Latest Latest
Warning

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

Go to latest
Published: May 11, 2023 License: Apache-2.0 Imports: 19 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AddChannelEvent

func AddChannelEvent(db database.Connector, channel string, evt SocketMessage) error

func Register

func Register(args plugins.RegistrationArguments) error

Types

type SocketMessage

type SocketMessage struct {
	IsLive bool                     `json:"is_live"`
	Time   time.Time                `json:"time"`
	Type   string                   `json:"type"`
	Fields *plugins.FieldCollection `json:"fields"`
}

func GetChannelEvents

func GetChannelEvents(db database.Connector, channel string) ([]SocketMessage, error)

Jump to

Keyboard shortcuts

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