outline

package module
v0.0.0-...-6570b7d Latest Latest
Warning

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

Go to latest
Published: May 13, 2022 License: GPL-3.0 Imports: 18 Imported by: 0

README

caddy-outline-manager

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Handler

type Handler struct {
	Servers  []string `json:"servers"`
	Username string   `json:"username,omitempty"`
	Password string   `json:"password,omitempty"`
	// contains filtered or unexported fields
}

Handler implements an HTTP handler that ...

func (Handler) CaddyModule

func (Handler) CaddyModule() caddy.ModuleInfo

CaddyModule returns the Caddy module information.

func (*Handler) ChangeUserPass

func (m *Handler) ChangeUserPass(w http.ResponseWriter, r *http.Request) error

func (*Handler) Login

func (m *Handler) Login(w http.ResponseWriter, r *http.Request) error

func (*Handler) Provision

func (m *Handler) Provision(ctx caddy.Context) (err error)

Provision implements caddy.Provisioner.

func (*Handler) ServeHTTP

func (m *Handler) ServeHTTP(w http.ResponseWriter, r *http.Request, next caddyhttp.Handler) error

ServeHTTP implements caddyhttp.MiddlewareHandler.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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