package
Version:
v0.0.0-...-07c5cce
Opens a new window with list of versions in this module.
Published: Jun 27, 2021
License: MIT
Opens a new window with license information.
Imports: 4
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
type API struct {
Name string
Prefix string
UpstreamUrl *Url `yaml:"upstream_url"`
Methods []string
AllowCrossOrigin bool `yaml:"allow_cross_origin"`
Middlewares map[string]bool
}
func (u *Url) UnmarshalYAML(unmarshal func(interface{}) error) error
Tell yaml parser how to unmarshal a string to type Url
Source Files
¶
Click to show internal directories.
Click to hide internal directories.