assets

package
v0.7.0 Latest Latest
Warning

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

Go to latest
Published: Jun 16, 2024 License: AGPL-3.0 Imports: 12 Imported by: 0

Documentation

Index

Constants

View Source
const CacheTimeout = 5 * time.Second

Variables

This section is empty.

Functions

This section is empty.

Types

type CacheItem

type CacheItem struct {
	Filename string
	Path     string

	CacheDeadline time.Time
}

type LocationFinder

type LocationFinder struct {
	// contains filtered or unexported fields
}

func NewLocationFinder

func NewLocationFinder(externDirPath []string) *LocationFinder

func (*LocationFinder) GetLocationAsset

func (c *LocationFinder) GetLocationAsset(log *logrus.Logger, filename string) (path string, err error)

Jump to

Keyboard shortcuts

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