Documentation
¶
Index ¶
- Constants
- Variables
- func KoycAwsSignHttpRequest(r *http.Request, keys Keys) (*http.Request, error)
- func NewRequest(keys Keys, method string, path string, jsonBytes []byte) (*http.Response, error)
- func RequestWith(r *http.Request, keys Keys) (*http.Response, error)
- type DefaultPanVerifyDataResponse
- type DefaultPanVerifyResponse
- type Keys
Constants ¶
View Source
const ( VERSION = "1" PROTOCOL = "https" DOMAIN = "api.koyc.in" )
Variables ¶
View Source
var Client = &http.Client{Timeout: 30 * time.Second}
Functions ¶
func KoycAwsSignHttpRequest ¶
func NewRequest ¶
Types ¶
type DefaultPanVerifyResponse ¶
type DefaultPanVerifyResponse struct {
MessageCode string `json:"message_code"`
StatusCode int `json:"status_code"`
Message string `json:"message"`
Success bool `json:"success"`
Data DefaultPanVerifyDataResponse `json:"data"`
}
Click to show internal directories.
Click to hide internal directories.