global

package
v0.1.1 Latest Latest
Warning

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

Go to latest
Published: Dec 20, 2023 License: MIT Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var AllowPaths = []string{"/assets/"}
View Source
var ExcludedFiles = []string{".DS_Store", "Thumbs.db", "desktop.ini"}
View Source
var GSession string
View Source
var ServerPort int
View Source
var SessionLength int
View Source
var TransferFolder string
View Source
var ViewsContent embed.FS

Functions

func Init

func Init()

The precedence is ENV variables > CLI flags

func IsvalidSession

func IsvalidSession(session string) bool

func ValidateSession

func ValidateSession(c *fiber.Ctx) error

Types

This section is empty.

Jump to

Keyboard shortcuts

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