Documentation
¶
Overview ¶
Package clouddial blocks Cloud job HTTP from local address ranges.
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ErrLocalAddress = errors.New("cloud job refused a local address")
ErrLocalAddress is returned when a Cloud job dials a local address range.
Functions ¶
func Client ¶
Client is the HTTP client for a Cloud job. It refuses every reserved address block, and it returns a redirect response without dialing the next address.
10.1.2.3 is refused. 1.1.1.1 is allowed. A 302 from 1.1.1.1 is the result the flow sees. The Location target is not dialed.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.