Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type LinkPusher ¶
type LinkPusher struct {
Link string
}
LinkPusher pushes a link
func (LinkPusher) ServeHandler ¶
func (m LinkPusher) ServeHandler(h http.Handler) http.Handler
ServeHandler implements middleware interface
type PreloadPusher ¶
type PreloadPusher struct{}
PreloadPusher pushes preload link
func (PreloadPusher) ServeHandler ¶
func (m PreloadPusher) ServeHandler(h http.Handler) http.Handler
ServeHandler implements middleware interface
Click to show internal directories.
Click to hide internal directories.