path

package
v0.0.0-...-f0b9b21 Latest Latest
Warning

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

Go to latest
Published: Feb 14, 2024 License: GPL-3.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

View Source
const (
	PrefixImageBase string = "/images/"

	// Deprecated: use the exported Prefixify methods
	// PrefixImagePoster will get appended to the Poster images name for the router.
	PrefixImagePoster string = "/images/poster/"

	// Deprecated: use the exported Prefixify methods
	// PrefixImageBanner will get appended to the Banner images name for the router.
	PrefixImageBanner string = "/images/banner/"

	// Deprecated: use the exported Prefixify methods
	// PrefixImageThumbnail will get appended to the Thumbnail images name for the router.
	PrefixImageThumbnail string = "/images/thumbnail/"

	// Deprecated: use the exported Prefixify methods
	// PrefixVideo will get appended to the Video path for the router.
	PrefixVideo string = "/videos/"
)

Variables

View Source
var ExternalURL atomic.Pointer[string]

Functions

func PrefixifyImageBanner

func PrefixifyImageBanner(path string) string

func PrefixifyImagePoster

func PrefixifyImagePoster(path string) string

func PrefixifyImageThumbnail

func PrefixifyImageThumbnail(path string) string

func PrefixifyVideo

func PrefixifyVideo(path string) string

func Unprefixify

func Unprefixify(path string) string

Types

This section is empty.

Jump to

Keyboard shortcuts

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