caddyreg

package
v0.0.11 Latest Latest
Warning

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

Go to latest
Published: Jan 16, 2024 License: MIT Imports: 1 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Info

func Info[T any, I interface {
	*T
	caddy.Module
}](id string) caddy.ModuleInfo

Info helps generate the caddy.ModuleInfo by automatically filling in the caddy.ModuleInfo.New field. The id parameter is set to the ID field of the caddy.ModuleInfo.

func R

func R[T caddy.Module]()

R registers the provided caddy module.

Types

This section is empty.

Jump to

Keyboard shortcuts

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