Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Destination ¶
type Options ¶
type Options struct { Key string Destinations []*Destination }
type TrafficSplitterMiddleware ¶
type TrafficSplitterMiddleware struct {
// contains filtered or unexported fields
}
func NewMiddleware ¶
func NewMiddleware(options *Options) *TrafficSplitterMiddleware
func (*TrafficSplitterMiddleware) ServeHTTP ¶
func (m *TrafficSplitterMiddleware) ServeHTTP(ctx context.Context, c *app.RequestContext)
Click to show internal directories.
Click to hide internal directories.