admin

package
v0.2.10-2 Latest Latest
Warning

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

Go to latest
Published: Sep 13, 2025 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 {
	// contains filtered or unexported fields
}

func (*Admin) AddUser

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

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

func (*Admin) GetUsers

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

func (*Admin) Provision

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

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