Documentation ¶ Index ¶ func Endpoint(u url.URL) *url.URL type EndpointAllowlist func Allowlist(allowedEndpoints []string) (*EndpointAllowlist, error) func (v *EndpointAllowlist) IsAllowed(endpoint *url.URL) bool Constants ¶ This section is empty. Variables ¶ This section is empty. Functions ¶ func Endpoint ¶ func Endpoint(u url.URL) *url.URL Types ¶ type EndpointAllowlist ¶ type EndpointAllowlist struct { // contains filtered or unexported fields } func Allowlist ¶ func Allowlist(allowedEndpoints []string) (*EndpointAllowlist, error) func (*EndpointAllowlist) IsAllowed ¶ func (v *EndpointAllowlist) IsAllowed(endpoint *url.URL) bool Source Files ¶ View all Source files allowlist.go endpoint.go Click to show internal directories. Click to hide internal directories.