tasking

package
v0.0.0-...-fb01ae8 Latest Latest
Warning

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

Go to latest
Published: Oct 12, 2024 License: MIT Imports: 28 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetCreatorMetadata

func GetCreatorMetadata(creatorLink string) (database.YoutubePlaylistStruct, error)

func GetYouTubeMetadata

func GetYouTubeMetadata(url string, comments bool) (database.YouTubeVideoInfoStruct, error)

func InitTasking

func InitTasking()

Types

type Task

type Task struct {
	sync.RWMutex
	Name     string
	Epoch    int64
	Interval time.Duration
	Timeout  time.Duration
	Task     func(...interface{}) error
	Args     []interface{}
}

Jump to

Keyboard shortcuts

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