Versions in this module Expand all Collapse all v0 v0.3.0 Aug 20, 2026 Changes in this version + func SetCAPinning(enabled bool) func(*apiOptions) v0.2.0 Apr 30, 2025 Changes in this version type DuoApi + func (duoapi *DuoApi) JSONSignedCall(method string, uri string, params JSONParams, options ...DuoApiOption) (*http.Response, []byte, error) + type JSONParams map[string]interface + type NullableInt32 struct + func (n *NullableInt32) UnmarshalJSON(data []byte) error type StatResult + Ncode NullableInt32 + func (s *StatResult) SyncCode() v0.1.0 Apr 18, 2023 Changes in this version + func SetInsecure() func(*apiOptions) + func SetProxy(proxy func(*http.Request) (*url.URL, error)) func(*apiOptions) + func SetTimeout(timeout time.Duration) func(*apiOptions) + func SetTransport(transport func(*http.Transport)) func(*apiOptions) + func UseTimeout(opts *requestOptions) + type DuoApi struct + func NewDuoApi(ikey string, skey string, host string, userAgent string, ...) *DuoApi + func (duoapi *DuoApi) Call(method string, uri string, params url.Values, options ...DuoApiOption) (*http.Response, []byte, error) + func (duoapi *DuoApi) SetCustomHTTPClient(c *http.Client) + func (duoapi *DuoApi) SignedCall(method string, uri string, params url.Values, options ...DuoApiOption) (*http.Response, []byte, error) + type DuoApiOption func(*requestOptions) + type StatResult struct + Code *int32 + Message *string + Message_Detail *string + Stat string