Documentation
¶
Index ¶
Constants ¶
View Source
const ModuleName = "fetch"
Variables ¶
This section is empty.
Functions ¶
func Module ¶
func Module(options ...Option) module.Definition
Types ¶
type Config ¶
type Config struct {
Transport http.RoundTripper
Policy Policy
ResourceLimits *limits.Runtime
}
type Option ¶
type Option func(*Config)
func WithPolicy ¶
func WithResourceLimits ¶
WithResourceLimits shares one runtime-local resource policy between fetch module exports and the fetch global.
func WithTransport ¶
func WithTransport(transport http.RoundTripper) Option
Click to show internal directories.
Click to hide internal directories.