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, req *IPCheckRequest) (*pangea.PangeaResponse[CheckResult], error) ISOCheck(ctx context.Context, req *ISOCheckRequest) (*pangea.PangeaResponse[CheckResult], error) // Base service methods pangea.BaseServicer }
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.