Documentation ¶
Index ¶
- Constants
- func FindPathDelay(path string, configuration *shared.WiretapConfiguration) int
- func FindPaths(path string, configuration *shared.WiretapConfiguration) []*shared.WiretapPathConfig
- func IgnoreRedirectOnPath(path string, configuration *shared.WiretapConfiguration) bool
- func IgnoreValidationOnPath(path string, configuration *shared.WiretapConfiguration) bool
- func PathRedirectAllowListed(path string, configuration *shared.WiretapConfiguration) bool
- func PathValidationAllowListed(path string, configuration *shared.WiretapConfiguration) bool
- func RewritePath(path string, configuration *shared.WiretapConfiguration) string
- type Configuration
- type ConfigurationService
- type RequestConfiguration
Constants ¶
View Source
const ( ConfigurationServiceChan = "configuration" GetConfigurationRequest = "config-request" )
Variables ¶
This section is empty.
Functions ¶
func FindPathDelay ¶ added in v0.0.35
func FindPathDelay(path string, configuration *shared.WiretapConfiguration) int
func FindPaths ¶ added in v0.0.13
func FindPaths(path string, configuration *shared.WiretapConfiguration) []*shared.WiretapPathConfig
func IgnoreRedirectOnPath ¶ added in v0.1.4
func IgnoreRedirectOnPath(path string, configuration *shared.WiretapConfiguration) bool
func IgnoreValidationOnPath ¶ added in v0.1.7
func IgnoreValidationOnPath(path string, configuration *shared.WiretapConfiguration) bool
func PathRedirectAllowListed ¶ added in v0.1.4
func PathRedirectAllowListed(path string, configuration *shared.WiretapConfiguration) bool
func PathValidationAllowListed ¶ added in v0.1.7
func PathValidationAllowListed(path string, configuration *shared.WiretapConfiguration) bool
func RewritePath ¶ added in v0.0.13
func RewritePath(path string, configuration *shared.WiretapConfiguration) string
Types ¶
type Configuration ¶
type Configuration struct {
Configuration *shared.WiretapConfiguration `json:"configuration,omitempty"`
}
type ConfigurationService ¶
type ConfigurationService struct {
// contains filtered or unexported fields
}
func NewConfigurationService ¶
func NewConfigurationService() *ConfigurationService
func (*ConfigurationService) HandleServiceRequest ¶
func (cs *ConfigurationService) HandleServiceRequest(request *model.Request, core service.FabricServiceCore)
type RequestConfiguration ¶
type RequestConfiguration struct { }
Click to show internal directories.
Click to hide internal directories.