MCPcopy Index your code
hub / github.com/go-task/task / HTTPNode

Struct HTTPNode

taskfile/node_http.go:21–25  ·  view source on GitHub ↗

An HTTPNode is a node that reads a Taskfile from a remote location via HTTP.

Source from the content-addressed store, hash-verified

19
20// An HTTPNode is a node that reads a Taskfile from a remote location via HTTP.
21type HTTPNode struct {
22 *baseNode
23 url *url.URL // stores url pointing actual remote file. (e.g. with Taskfile.yml)
24 client *http.Client // HTTP client with optional TLS configuration
25}
26
27// buildHTTPClient creates an HTTP client with optional TLS configuration.
28// If no certificate options are provided, it returns http.DefaultClient.

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected