caddy

package module
v0.0.0-...-3a89ac9 Latest Latest
Warning

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

Go to latest
Published: Sep 27, 2025 License: MIT Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type CaddyWasm

type CaddyWasm struct {
	Items []wasmModule           `json:"items"`
	Pool  map[string]interface{} `json:"pool"`
	// contains filtered or unexported fields
}

func (CaddyWasm) CaddyModule

func (CaddyWasm) CaddyModule() caddy.ModuleInfo

CaddyModule returns the Caddy module information.

func (*CaddyWasm) Provision

func (c *CaddyWasm) Provision(ctx caddy.Context) error

Provision to do the provisioning part.

func (CaddyWasm) ServeHTTP

func (c CaddyWasm) ServeHTTP(rw http.ResponseWriter, r *http.Request, next caddyhttp.Handler) error

ServeHTTP implements caddyhttp.MiddlewareHandler.

Jump to

Keyboard shortcuts

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