Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Config ¶
type Config struct {
RoutingConfig string `json:"routingConfig"`
}
Config holds the configuration for the Router plugin.
type Router ¶
type Router struct {
// contains filtered or unexported fields
}
Router implements Router interface.
func New ¶
New initializes a new Router instance with the provided configuration. It loads and validates the routing rules from the specified YAML file. Returns an error if the configuration is invalid or the rules cannot be loaded.
Click to show internal directories.
Click to hide internal directories.