config

package
v0.2.3 Latest Latest
Warning

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

Go to latest
Published: Jul 2, 2024 License: MIT, MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type App

type App struct {
	Name string
}

type Cache

type Cache struct {
	Memory *memory.Client
	Redis  *redis.Client
}

type Csrf

type Csrf struct {
	Expiration time.Duration
}

type Export

type Export struct {
	Gotenberg Gotenberg
}

type Firewall

type Firewall struct {
	Enabled  bool
	Patterns []string
	Roles    []string
}

type Gotenberg

type Gotenberg struct {
	Endpoint string
}

type Language

type Language struct {
	Main bool
	Code string
}

type Localization

type Localization struct {
	Enabled    bool
	Languages  []Language
	Translator translator.Translator
	Validator  validator.Messages
}

type Parser

type Parser struct {
	Limit int64
}

type Router

type Router struct {
	Prefix  string
	Recover bool
}

type Security

type Security struct {
	Auth      auth.Config
	Csrf      Csrf
	Firewalls []Firewall
}

Jump to

Keyboard shortcuts

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