Back to godoc.org
github.com/HeavenVolkoff/caddy-authelia

Package authelia

v0.0.0-...-d1933c8
Latest Go to latest

The latest major version is .

Published: Jul 16, 2020 | License: MPL-2.0 | Module: github.com/HeavenVolkoff/caddy-authelia

Index

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>] {
    tls
    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