Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Config ¶
type Config struct { GatewayPort int `yaml:"gateway_port"` AdminPort int `yaml:"admin_port"` PluginsDir string `yaml:"plugins_dir"` }
func LoadConfig ¶
type Route ¶
type Route struct { Uri string Upstream *url.URL Proxy *httputil.ReverseProxy AllowedMethods []string Middleware []pdk.Middleware }
func NewRouteFromPlugin ¶
func (*Route) MethodIsAllowed ¶
Click to show internal directories.
Click to hide internal directories.