forked from ebhomengo/niki
1
0
Fork 0
niki/vendor/github.com/kavenegar/kavenegar-go/verify.go

34 lines
617 B
Go

package kavenegar
// VerifyService ...
type VerifyService struct {
client *Client
}
// VerifyLookupResult ...
type VerifyLookupResult struct {
*Return `json:"return"`
Entries Message `json:"entries"`
}
// VerifyLookupParam ...
type VerifyLookupParam struct {
Token2 string
Token3 string
Tokens map[string]string
Type VerifyLookupType
}
// NewVerifyService ...
func NewVerifyService(client *Client) *VerifyService {
m := &VerifyService{client: client}
return m
}
type VerifyLookupType string
const (
Type_VerifyLookup_Sms VerifyLookupType = "sms"
Type_VerifyLookup_Call VerifyLookupType = "call"
)