Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Middleware ¶
type Middleware struct { Next httpserver.Handler Rules []Rule }
Middleware supports pushing resources to clients
func (Middleware) ServeHTTP ¶
func (h Middleware) ServeHTTP(w http.ResponseWriter, r *http.Request) (int, error)
Click to show internal directories.
Click to hide internal directories.