util

package
v0.0.0-...-0cf00ac Latest Latest
Warning

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

Go to latest
Published: Nov 9, 2023 License: GPL-3.0 Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func HealthCheck

func HealthCheck(url *string)

Types

type LuaResponse

type LuaResponse struct {
	Filled  bool
	Error   bool
	Message string
	Data    map[string]interface{}
}

func LuaCallReceiveFunction

func LuaCallReceiveFunction(l *lua.LState, vod string) *LuaResponse

func LuaCallSendFunction

func LuaCallSendFunction(l *lua.LState, vod *dggarchivermodel.VOD) *LuaResponse

type State

type State struct {
	SearchETag     string
	SentVODs       []string
	CurrentStreams struct {
		YouTube dggarchivermodel.VOD
		Rumble  dggarchivermodel.VOD
		Kick    dggarchivermodel.VOD
	} `json:"-"`
}

func (*State) CheckPriority

func (state *State) CheckPriority(platformName string, config *config.Config) bool

func (*State) Dump

func (state *State) Dump()

func (*State) Load

func (state *State) Load()

Jump to

Keyboard shortcuts

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