overlays

package
v3.23.0 Latest Latest
Warning

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

Go to latest
Published: Dec 20, 2023 License: Apache-2.0 Imports: 21 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