package
Version:
v1.0.12-0...-3a330c3
Opens a new window with list of versions in this module.
Published: Dec 22, 2019
License: Apache-2.0
Opens a new window with license information.
Imports: 3
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
API interface wrapping duo api library for testing purpose
type APIImpl struct {
*duoapi.DuoApi
}
APIImpl implementation of DuoAPI interface
func NewDuoAPI(duoAPI *duoapi.DuoApi) *APIImpl
NewDuoAPI create duo API instance
type Response struct {
Response struct {
Result string `json:"result"`
Status string `json:"status"`
StatusMessage string `json:"status_msg"`
} `json:"response"`
Stat string `json:"stat"`
}
Response response coming from Duo API
Source Files
¶
Click to show internal directories.
Click to hide internal directories.