Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type API ¶
type API struct { URLPattern string `json:"urlPattern" yaml:"urlPattern"` config.Method `json:"method,inline" yaml:"method,inline"` Headers map[string]string `json:"headers,omitempty" yaml:"headers,omitempty"` }
API describes the minimum configuration of an RESTful api configure in gateway
func (*API) GetURIParams ¶
GetURIParams returns the values retrieved from the rawURL
func (*API) IsWildCardBackendPath ¶
IsWildCardBackendPath checks whether the configured path of the upstream restful service contains parameters
type Node ¶
type Node struct {
// contains filtered or unexported fields
}
Node defines the single method of the router configured API
Click to show internal directories.
Click to hide internal directories.