common

package
v0.0.0-...-13f148b Latest Latest
Warning

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

Go to latest
Published: Jan 18, 2026 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

View Source
const AccessTokenParamName = "token"

Variables

View Source
var (
	DomainFlag        = "domain"
	DemoMagnetFlag    = "demo-magnet"
	DemoTorrentFlag   = "demo-torrent"
	SMTPHostFlag      = "smtp-host"
	SMTPUserFlag      = "smtp-user"
	SMTPPassFlag      = "smtp-pass"
	SMTPPortFlag      = "smtp-port"
	SMTPSecureFlag    = "smtp-secure"
	UseDirectLinks    = "use-direct-links"
	SessionSecretFlag = "secret"
	DisableWebDAVFlag = "disable-webdav"
	DisableEmbedFlag  = "disable-embed"
)
View Source
var SHA1R = regexp.MustCompile("(?i)[0-9a-f]{5,40}")

Functions

func EscapePath

func EscapePath(path string) string

func RegisterFlags

func RegisterFlags(f []cli.Flag) []cli.Flag

Types

This section is empty.

Jump to

Keyboard shortcuts

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