Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CircuitBreaker ¶
type CircuitBreaker struct { Trigger *struct { SuccessRatio *struct { Success float64 Request int Bucket int Window time.Duration } Ratio int64 } Action struct { ResponseData *struct { StatusCode int Header []struct { Key string Value []string } Body []byte } BackupService *struct { Endpoint Endpoint } } Conditions []Condition }
type Config ¶
type Config struct { Debug bool Addr string Discovery string Endpoints []Endpoint Middlewares []Middleware // contains filtered or unexported fields }
type Middleware ¶
type Rewrite ¶
type Rewrite struct { PathRewrite string RequestHeadersRewrite *RewriteHeadersPolicy ResponseHeadersRewrite *RewriteHeadersPolicy StripPrefix string HostRewrite string }
type RewriteHeadersPolicy ¶
Click to show internal directories.
Click to hide internal directories.