tomladapter

package module
v1.0.4 Latest Latest
Warning

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

Go to latest
Published: Feb 25, 2023 License: MIT Imports: 3 Imported by: 1

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