package
Version:
v0.0.5
Opens a new window with list of versions in this module.
Published: Apr 14, 2026
License: MIT
Opens a new window with license information.
Imports: 8
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
Fetch performs an HTTP request and returns the response.
type FetchParams struct {
URL string `json:"url"`
Method string `json:"method,omitempty"`
Body string `json:"body,omitempty"`
}
FetchParams is the params for net.fetch.
type FetchResult struct {
Status int `json:"status"`
Body string `json:"body"`
}
FetchResult is the result of net.fetch.
Source Files
¶
Click to show internal directories.
Click to hide internal directories.