tomladapter

package module
v0.0.0-...-9142212 Latest Latest
Warning

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

Go to latest
Published: Apr 2, 2022 License: MPL-2.0 Imports: 3 Imported by: 0

README

caddy-toml-adapter

An adapter to configure the caddy webserver with a toml file

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Adapter

type Adapter struct{}

Adapter converts a TOML Caddy configuration to JSON.

func (Adapter) Adapt

func (a Adapter) Adapt(body []byte, _ map[string]interface{}) (
	[]byte, []caddyconfig.Warning, error)

Adapt the TOML body to JSON.

Jump to

Keyboard shortcuts

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