Documentation ¶ Index ¶ Constants type Options type Source func New(opts Options) *Source func (s *Source) Close() error func (s *Source) Read(ctx context.Context, reference directive.HTTPReference, ...) ([]byte, error) Constants ¶ View Source const Protocol = "dp.resolve.v1" Variables ¶ This section is empty. Functions ¶ This section is empty. Types ¶ type Options ¶ type Options struct { Timeout time.Duration MaxPayloadBytes int64 MaxIdleConns int MaxIdleConnsPerHost int MaxConnsPerHost int IdleConnTimeout time.Duration } type Source ¶ type Source struct { // contains filtered or unexported fields } func New ¶ func New(opts Options) *Source func (*Source) Close ¶ func (s *Source) Close() error func (*Source) Read ¶ func (s *Source) Read(ctx context.Context, reference directive.HTTPReference, request directive.RequestSnapshot) ([]byte, error) Source Files ¶ View all Source files source.go Click to show internal directories. Click to hide internal directories.