admin

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: May 22, 2026 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AgentGatewayAdminHandler

type AgentGatewayAdminHandler struct {
	AdminUsername     string `json:"admin_username,omitempty"`
	AdminPasswordHash string `json:"admin_password_hash,omitempty"`
	// contains filtered or unexported fields
}

AgentGatewayAdminHandler is the Caddy HTTP middleware for the agent gateway admin API.

func (AgentGatewayAdminHandler) CaddyModule

CaddyModule returns the Caddy module information.

func (*AgentGatewayAdminHandler) Provision

func (h *AgentGatewayAdminHandler) Provision(ctx caddy.Context) error

Provision sets up the handler.

func (AgentGatewayAdminHandler) ServeHTTP

ServeHTTP implements caddyhttp.MiddlewareHandler.

func (*AgentGatewayAdminHandler) UnmarshalCaddyfile

func (h *AgentGatewayAdminHandler) UnmarshalCaddyfile(d *caddyfile.Dispenser) error

UnmarshalCaddyfile implements caddyfile.Unmarshaler.

agent_gateway_admin {
    admin_user     <username>
    admin_password_hash  <bcrypt-hash>
}

Jump to

Keyboard shortcuts

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