Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Config ¶
type Config struct {
Role string `yaml:"role"` // "bap" or "bpp"
MappingsFile string `yaml:"mappingsFile"` // required path to mappings YAML
}
Config represents the configuration for the request mapper middleware.
type MappingEngine ¶
type MappingEngine struct {
// contains filtered or unexported fields
}
MappingEngine handles JSONata-based transformations
func (*MappingEngine) GetMappingInfo ¶
func (e *MappingEngine) GetMappingInfo() map[string]interface{}
GetMappingInfo returns information about loaded mappings
func (*MappingEngine) ReloadMappings ¶
func (e *MappingEngine) ReloadMappings() error
ReloadMappings reloads all mapping files (useful for hot-reload scenarios)
Click to show internal directories.
Click to hide internal directories.