caddyingressutil

package module
v0.0.0-...-080488a Latest Latest
Warning

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

Go to latest
Published: Feb 24, 2021 License: Apache-2.0 Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ProvisionIngressRouter

func ProvisionIngressRouter() (ingressutil.IngressRouter, func())

Types

type IngressRouter

type IngressRouter struct {
	Router       ingressutil.IngressRouter
	BuildHandler func(string, string, string) caddyhttp.MiddlewareHandler
	// contains filtered or unexported fields
}

func (IngressRouter) CaddyModule

func (ir IngressRouter) CaddyModule() caddy.ModuleInfo

CaddyModule returns the Caddy module information.

func (*IngressRouter) Cleanup

func (ir *IngressRouter) Cleanup() error

func (*IngressRouter) Provision

func (ir *IngressRouter) Provision(ctx caddy.Context) error

func (*IngressRouter) ServeHTTP

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

Jump to

Keyboard shortcuts

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