module

package
v0.0.0-...-cd1672a Latest Latest
Warning

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

Go to latest
Published: Jun 22, 2023 License: Apache-2.0 Imports: 19 Imported by: 0

Documentation

Index

Constants

View Source
const AttributeBodyKey = "data-webc-body"
View Source
const AttributeMethodKey = "data-webc-method"
View Source
const AttributeNameKey = "data-webc-name"
View Source
const AttributeUrlKey = "data-webc-url"
View Source
const GET = "get"

Variables

This section is empty.

Functions

This section is empty.

Types

type Cache

type Cache struct {
	// contains filtered or unexported fields
}

type CacheEntry

type CacheEntry struct {
	// contains filtered or unexported fields
}

type ComposeContext

type ComposeContext struct {
	// contains filtered or unexported fields
}

type WebComponent

type WebComponent struct {
	// contains filtered or unexported fields
}

type WebComposer

type WebComposer struct {
	MIMETypes []string `json:"mime_types,omitempty"`
	// contains filtered or unexported fields
}

WebComposer is an example; put your own type here.

func (WebComposer) CaddyModule

func (WebComposer) CaddyModule() caddy.ModuleInfo

CaddyModule returns the Caddy module information.

func (*WebComposer) Provision

func (w *WebComposer) Provision(ctx caddy.Context) error

Provision implements caddy.Provisioner.

func (WebComposer) ServeHTTP

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

ServeHTTP implements caddyhttp.MiddlewareHandler.

func (*WebComposer) UnmarshalCaddyfile

func (w *WebComposer) UnmarshalCaddyfile(d *caddyfile.Dispenser) error

UnmarshalCaddyfile implements caddyfile.Unmarshaler.

func (*WebComposer) Validate

func (w *WebComposer) Validate() error

Validate implements caddy.Validator.

type WebSource

type WebSource struct {
	// contains filtered or unexported fields
}

Jump to

Keyboard shortcuts

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