net

package
v0.1.0-dev.20260222175125 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Feb 22, 2026 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Register

func Register(reg *execution.ActionRegistry)

Register registers all net actions with the given registry.

Types

type Download

type Download struct{ Impl *Provider }

Download — Download fetches the content at the given URL and returns the response body.

func (*Download) Do

func (*Download) Name

func (o *Download) Name() string

type Provider

type Provider struct{}

Provider provides network actions.

func (*Provider) Download

func (p *Provider) Download(url string) ([]byte, error)

Download fetches the content at the given URL and returns the response body.

Parameters:

  • url: HTTP(S) URL to fetch

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL