user

package
v2.0.3 Latest Latest
Warning

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

Go to latest
Published: Jun 14, 2023 License: MIT Imports: 14 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewCreateCommand

func NewCreateCommand() *cobra.Command

func NewQRCommand

func NewQRCommand() *cobra.Command

func NewRootCommand

func NewRootCommand() *cobra.Command

Types

type CreateUserDTO

type CreateUserDTO struct {
	Issuer   string `json:"issuer,omitempty" validate:"required"`
	Username string `json:"username,omitempty" validate:"required,min=3,max=254"`
	Email    string `json:"email,omitempty" validate:"required,email,min=3,max=254"`
	Password string `json:"password,omitempty" validate:"required,min=8,max=64"`
}

type CreateUserPlugin

type CreateUserPlugin struct {
	// contains filtered or unexported fields
}

func (*CreateUserPlugin) Init

func (p *CreateUserPlugin) Init(uow common.UnitOfWork) error

func (*CreateUserPlugin) Name

func (p *CreateUserPlugin) Name() string

func (*CreateUserPlugin) Serve

func (p *CreateUserPlugin) Serve() chan error

func (*CreateUserPlugin) Stop

type QRPlugin

type QRPlugin struct {
	// contains filtered or unexported fields
}

func (*QRPlugin) Init

func (p *QRPlugin) Init(uow common.UnitOfWork) error

func (*QRPlugin) Name

func (p *QRPlugin) Name() string

func (*QRPlugin) Serve

func (p *QRPlugin) Serve() chan error

func (*QRPlugin) Stop

func (p *QRPlugin) Stop(context.Context) error

type QrDTO

type QrDTO struct {
	Username string
	Email    string
	Host     string
}

Jump to

Keyboard shortcuts

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