config

package
v0.1.11 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: May 2, 2024 License: AGPL-3.0 Imports: 8 Imported by: 2

Documentation

Index

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 {
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL