mirror of https://github.com/caddyserver/caddy.git
map: Clarified how destination values should be formatted (#5156)
This commit is contained in:
parent
a999b70727
commit
72e7edda1f
|
@ -40,6 +40,7 @@ type Handler struct {
|
||||||
Source string `json:"source,omitempty"`
|
Source string `json:"source,omitempty"`
|
||||||
|
|
||||||
// Destinations are the names of placeholders in which to store the outputs.
|
// Destinations are the names of placeholders in which to store the outputs.
|
||||||
|
// Destination values should be wrapped in braces, for example, {my_placeholder}.
|
||||||
Destinations []string `json:"destinations,omitempty"`
|
Destinations []string `json:"destinations,omitempty"`
|
||||||
|
|
||||||
// Mappings from source values (inputs) to destination values (outputs).
|
// Mappings from source values (inputs) to destination values (outputs).
|
||||||
|
|
Loading…
Reference in New Issue