Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Attribute ¶
type Attribute struct { Key string `yaml:"key" mapstructure:"key"` Type AttributeType `yaml:"type" mapstructure:"type"` Index string `yaml:"index" mapstructure:"index"` // proto index Path string `yaml:"path" mapstructure:"path"` Params []string `yaml:"params" mapstructure:"params"` Source string `yaml:"source" mapstructure:"source"` Value string `yaml:"value" mapstructure:"value"` }
type AttributeType ¶
type AttributeType string
const ( TypeJSONPayload AttributeType = "json_payload" TypeGRPCPayload AttributeType = "grpc_payload" TypeQuery AttributeType = "query" TypeHeader AttributeType = "header" TypePathParam AttributeType = "path_param" TypeConstant AttributeType = "constant" TypeComposite AttributeType = "composite" SourceRequest AttributeType = "request" SourceResponse AttributeType = "response" )
Click to show internal directories.
Click to hide internal directories.