config

package
v0.6.3 Latest Latest
Warning

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

Go to latest
Published: Jan 29, 2024 License: AGPL-3.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetGoValidator

func GetGoValidator() *validator.Validate

Go validator instance

Types

type CustomValidator

type CustomValidator struct{}

Custom Validator methods

func GetCustomValidator

func GetCustomValidator() *CustomValidator

func (*CustomValidator) IsArchiveTypeValid

func (v *CustomValidator) IsArchiveTypeValid(archiveType string) bool

type Environment

type Environment struct {
	ArchivesVolumePath string `split_words:"true" default:"./files/archives"`
	TemplatesPath      string `split_words:"true" default:"./files/templates"`
}

func GetEnvironment

func GetEnvironment() *Environment

Jump to

Keyboard shortcuts

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