package
6.27.0+incompatible
Repository: https://github.com/clever/kayvee-go.git
Documentation: pkg.go.dev

# Functions

NewFromConfig constructs a Router using the configuration specified as yaml in `filename`.
NewFromConfigBytes constructs a Router using the configuration specified as bytes typically read from a binary file.
NewFromRoutes constructs a RuleRouter using the provided map of route names to Rules.

# Structs

Rule is a log routing rule.
RuleRouter is an object that can route log lines according to `rules`.

# Interfaces

Router is an an interface for an object that can route log lines.

# Type aliases

RuleMatchers describes which log lines a router rule applies to.
RuleOutput describes what to do if a log line matches a rule.