Documentation ¶ Index ¶ type Client func NewClient(s Servicer, out outputs.Outputer) *Client func (c *Client) Disable() *cobra.Command func (c *Client) Enable() *cobra.Command func (c *Client) NewCommand() *cobra.Command func (c *Client) Receive() *cobra.Command type Servicer Constants ¶ This section is empty. Variables ¶ This section is empty. Functions ¶ This section is empty. Types ¶ type Client ¶ type Client struct { Servicer Servicer Service packngo.TwoFactorAuthService Out outputs.Outputer } func NewClient ¶ func NewClient(s Servicer, out outputs.Outputer) *Client func (*Client) Disable ¶ func (c *Client) Disable() *cobra.Command func (*Client) Enable ¶ func (c *Client) Enable() *cobra.Command func (*Client) NewCommand ¶ func (c *Client) NewCommand() *cobra.Command func (*Client) Receive ¶ func (c *Client) Receive() *cobra.Command type Servicer ¶ type Servicer interface { API(*cobra.Command) *packngo.Client ListOptions(defaultIncludes, defaultExcludes []string) *packngo.ListOptions } Source Files ¶ View all Source files disable2fa.go enable2fa.go receive.go twofa.go Click to show internal directories. Click to hide internal directories.