Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Exchange ¶
type Exchange struct {
Resp http.ResponseWriter
Req *http.Request
Ctx context.Context
Attr map[string]interface{}
Err error
Completed bool
Written sync.Once
}
Exchange struct
type Filter ¶
type Filter interface {
Init(mux *RouteMux)
Name() string
Filter(exchange *Exchange, c interface{}) error
}
Filter interface
type RewriteConfig ¶
RewriteConfig struct
type RouteMux ¶ added in v0.2.0
RouteMux struct
func NewRouteMux ¶ added in v0.2.0
NewRouteMux new route mux
Click to show internal directories.
Click to hide internal directories.