otp

package
v0.0.0-...-b5ec117 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Dec 9, 2022 License: MIT Imports: 19 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewCreateCommand

func NewCreateCommand(config *config.Config) *cobra.Command

NewCreateCommand creates new user

func NewDeleteCommand

func NewDeleteCommand(config *config.Config) *cobra.Command

NewDeleteCommand deletes an OTP

func NewGenerateCmd

func NewGenerateCmd(c *config.Config) *cobra.Command

NewGenerateCmd returns command to generate OTP

func NewListCmd

func NewListCmd(c *config.Config) *cobra.Command

func NewOTPCmd

func NewOTPCmd(config *config.Config) *cobra.Command

NewOTPCmd returns a command that handle database related operations

func NewUpdateCommand

func NewUpdateCommand(cfg *config.Config) *cobra.Command

NewUpdateCommand updates an existing OTP data

Types

type TickMsg

type TickMsg time.Time

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL