tools

package
v0.4.2 Latest Latest
Warning

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

Go to latest
Published: Mar 6, 2022 License: MIT Imports: 17 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	V = regexp.MustCompile(`(http:|https:)?\/\/(www\.)?(youtube.com|youtu.be)\/(watch)?(\?v=)?(\S+)?`)
	S = regexp.MustCompile(`(http:|https:)?\/\/(www\.)?(open.spotify.com|spotify.com)\/(watch)?(\?v=)?(\S+)?`)
)

Functions

func DeleteSong

func DeleteSong(song int) error

func ErrControl added in v0.2.0

func ErrControl(c echo.Context, origin, url string, reg *regexp.Regexp) (output bool)

func MoveSong

func MoveSong()

func PlayAllSongs added in v0.0.7

func PlayAllSongs(e *echo.Echo) error

func PlaySongOneByOne

func PlaySongOneByOne(song uint32, e *echo.Echo) error

Types

type Delete

type Delete struct {
	Delete int
}

type Nsong

type Nsong struct {
	Nsong int
}

type Url

type Url struct {
	Url string
}

Jump to

Keyboard shortcuts

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