Documentation
¶
Index ¶
- type Blackbox
- type Client
- type DefaultTool
- func (d *DefaultTool) Close(ctx context.Context, c io.Closer) error
- func (d *DefaultTool) Copy(ctx context.Context, dst io.Writer, src io.Reader) error
- func (d *DefaultTool) Open(ctx context.Context, path string) (io.ReadCloser, error)
- func (d *DefaultTool) Read(ctx context.Context, r io.Reader) ([]byte, error)
- func (d *DefaultTool) Write(ctx context.Context, w io.Writer, data []byte) error
- type Tool
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type DefaultTool ¶ added in v0.1.11
func NewTool ¶
func NewTool(c Client, opts contract.ToolOptions[Client]) *DefaultTool
func (*DefaultTool) Copy ¶ added in v0.1.479
Copy copies data from one io.Reader to another io.Writer.
func (*DefaultTool) Open ¶ added in v0.1.498
func (d *DefaultTool) Open(ctx context.Context, path string) (io.ReadCloser, error)
Open opens a file for reading.
Click to show internal directories.
Click to hide internal directories.