Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ValidateEndpoint ¶
ValidateEndpoints provides url/uri level validation, it does not make any actual http(s) requests
Types ¶
type Endpoint ¶
type Endpoint interface { // Endpoint // Returns the endpoint Endpoint() string // IsValid // Validates the structure of the url/uri(s) IsValid() error // IsGTG // Checks if this endpoint is actually reachable and performing as expected IsGTG(ctx context.Context) (string, error) }
Common type/behaviour definition for an endpoint
Click to show internal directories.
Click to hide internal directories.