Documentation
¶
Index ¶
Constants ¶
View Source
const DefaultOrder = 900
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Config ¶
type Config struct { Enabled *bool `yaml:"enabled,omitempty"` Name string `yaml:"name,omitempty"` Type string `yaml:"type,omitempty" validate:"required"` Properties cfg.CommonCfg `yaml:",inline"` }
func MergeInterceptorList ¶ added in v1.3.0
MergeInterceptorList merge interceptor lists with defaults. The interceptor will distinguish whether to merge or not according to the UID() by name and type.
func (*Config) GetExtension ¶ added in v1.3.0
func (c *Config) GetExtension() (*ExtensionConfig, error)
func (*Config) SetBelongTo ¶ added in v1.3.0
type ExtensionConfig ¶
type SortableInterceptor ¶
type SortableInterceptor []api.Interceptor
func (SortableInterceptor) Len ¶
func (si SortableInterceptor) Len() int
func (SortableInterceptor) Less ¶
func (si SortableInterceptor) Less(i, j int) bool
func (SortableInterceptor) Swap ¶
func (si SortableInterceptor) Swap(i, j int)
Click to show internal directories.
Click to hide internal directories.