# Functions
BuildMiddlewares builds middlewares from the given annotations.
GetCircuitBreakerExpression returns the value of the circuit-breaker-expression annotation.
GetRateLimitAverage returns the value of the rate-limit-average annotation.
GetRateLimitBurst returns the value of the rate-limit-burst annotation.
GetRetryAttempts returns the value of the retry-attempts annotation.
GetScheme returns the value of the scheme annotation.
GetTrafficType returns the value of the traffic-type annotation.
# Constants
SchemeH2C h2c scheme.
SchemeHTTP HTTP scheme.
SchemeHTTPS HTTPS scheme.
ServiceTypeHTTP HTTP service type.
ServiceTypeTCP TCP service type.
ServiceTypeUDP UDP service type.
# Variables
ErrNotFound indicates that the annotation hasn't been found.