Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CheckResult ¶
type Client ¶
type Client interface { IPCheck(ctx context.Context, input *IPCheckRequest) (*pangea.PangeaResponse[CheckResult], error) ISOCheck(ctx context.Context, input *ISOCheckRequest) (*pangea.PangeaResponse[CheckResult], error) // Base service methods GetPendingRequestID() []string PollResultByError(ctx context.Context, e pangea.AcceptedError) (*pangea.PangeaResponse[any], error) PollResultByID(ctx context.Context, rid string, v any) (*pangea.PangeaResponse[any], error) PollResultRaw(ctx context.Context, requestID string) (*pangea.PangeaResponse[map[string]any], error) }
type IPCheckRequest ¶
type IPCheckRequest struct { pangea.BaseRequest // Check this IP against the enabled embargo lists. // Accepts both IPV4 and IPV6 strings. IP string `json:"ip,omitempty"` }
type ISOCheckRequest ¶
type ISOCheckRequest struct { pangea.BaseRequest // Check this two character country ISO-code against the enabled embargo lists. ISOCode string `json:"iso_code,omitempty"` }
Click to show internal directories.
Click to hide internal directories.