update api
This commit is contained in:
+9
-7
@@ -4,13 +4,15 @@ import "time"
|
||||
|
||||
// Dukcapil holds configuration for the Dukcapil Face Recognition (1:N) API.
|
||||
type Dukcapil struct {
|
||||
BaseURL string `mapstructure:"base_url"`
|
||||
CustomerID string `mapstructure:"customer_id"`
|
||||
Methode string `mapstructure:"methode"`
|
||||
UserID string `mapstructure:"user_id"`
|
||||
Password string `mapstructure:"password"`
|
||||
DefaultIP string `mapstructure:"default_ip"`
|
||||
TimeoutSecond int `mapstructure:"timeout_second"`
|
||||
BaseURL string `mapstructure:"base_url"`
|
||||
CustomerID string `mapstructure:"customer_id"`
|
||||
Methode string `mapstructure:"methode"`
|
||||
UserID string `mapstructure:"user_id"`
|
||||
Password string `mapstructure:"password"`
|
||||
DefaultIP string `mapstructure:"default_ip"`
|
||||
TimeoutSecond int `mapstructure:"timeout_second"`
|
||||
TransactionSource string `mapstructure:"transaction_source"`
|
||||
Threshold string `mapstructure:"threshold"`
|
||||
}
|
||||
|
||||
func (d *Dukcapil) Timeout() time.Duration {
|
||||
|
||||
Reference in New Issue
Block a user