Documentation ¶
Index ¶
- func ApplyUrlTranformer(urlTransformer func(string) (string, error), baseURLs ...string) ([]string, error)
- func Bytes(ctx context.Context, url string, display func(string), ...) ([]byte, error)
- func JSON(ctx context.Context, url string, display func(string), ...) (any, error)
- func NoDisplay(string)
- func UrlTranformer(rewriteRule []string) func(string) (string, error)
- type RequestOption
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ApplyUrlTranformer ¶
Types ¶
type RequestOption ¶ added in v3.1.0
func WithBasicAuth ¶ added in v3.1.0
func WithBasicAuth(username string, password string) RequestOption
Click to show internal directories.
Click to hide internal directories.