Documentation ¶
Overview ¶
Package preloadtest provides utilities for preload link testing.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewPreloadForRawLink ¶
NewPreloadForRawLink is like preload.NewPreloadForLink, but takes an HTTP header value instead of an httplink.Link. rawLink must contain exactly one valid Web Linking; otherwise NewPreloadForRawLink panics.
func NewPreloadForRawURL ¶
NewPreloadForRawURL is like preload.NewPreloadForURL, but takes a URL string instead of a url.URL. It panics on error with parsing rawurl for ease of use in testing.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.