admin

package
v0.0.0-...-3fcb4da Latest Latest
Warning

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

Go to latest
Published: Jun 3, 2024 License: GPL-3.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Admin

type Admin struct {
	// Upstream is ...
	Upstream app.Upstream
}

Admin is ...

func (*Admin) AddUser

func (al *Admin) AddUser(w http.ResponseWriter, r *http.Request) error

AddUser is ...

func (Admin) CaddyModule

func (Admin) CaddyModule() caddy.ModuleInfo

CaddyModule returns the Caddy module information.

func (*Admin) DeleteUser

func (al *Admin) DeleteUser(w http.ResponseWriter, r *http.Request) error

DeleteUser is ...

func (*Admin) GetUsers

func (al *Admin) GetUsers(w http.ResponseWriter, r *http.Request) error

GetUsers is ...

func (*Admin) Provision

func (al *Admin) Provision(ctx caddy.Context) error

Provision is ...

func (*Admin) Routes

func (al *Admin) Routes() []caddy.AdminRoute

Routes returns a route for the /trojan/* endpoint.

Jump to

Keyboard shortcuts

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