Back to

Package authelia

Latest Go to latest

The latest major version is .

Published: Jul 16, 2020 | License: MPL-2.0 | Module:


type Authelia

type Authelia struct {
	TLS    bool   `json:"tls,omitempty"`
	Port   uint16 `json:"port,omitempty"`
	Domain string `json:"domain,omitempty"`
	// contains filtered or unexported fields

func (Authelia) CaddyModule

func (Authelia) CaddyModule() caddy.ModuleInfo

func (*Authelia) Provision

func (a *Authelia) Provision(ctx caddy.Context) error

func (Authelia) ServeHTTP

func (a Authelia) ServeHTTP(writer http.ResponseWriter, request *http.Request, nextHandler caddyhttp.Handler) (err error)

func (*Authelia) UnmarshalCaddyfile

func (a *Authelia) UnmarshalCaddyfile(d *caddyfile.Dispenser) (err error)

Caddyfile Syntax:

authelia [<matcher>] <domain>:<port> [<port>] {
    port <uint16>
    domain <string>

func (Authelia) Validate

func (a Authelia) Validate() error

type DomainError

type DomainError struct {
	Domain string

func (DomainError) Error

func (d DomainError) Error() string

Package Files

Documentation was rendered with GOOS=linux and GOARCH=amd64.

Jump to identifier

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to identifier