handlers

package
v1.0.0 Latest Latest
Warning

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

Go to latest
Published: Jan 30, 2021 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type PWDhandler

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

PWDhandler handles the backend generation.

func NewPWD

func NewPWD() *PWDhandler

NewPWD is the constructor of the PWDhandler.

func (*PWDhandler) Close

func (h *PWDhandler) Close() error

Close stops all connections.

func (*PWDhandler) Init

func (h *PWDhandler) Init(cfg *config.DBConfig) error

Init starts the controller's services.

func (*PWDhandler) PasswordGen

func (h *PWDhandler) PasswordGen(c *gin.Context)

PasswordGen handles the password generation.

Jump to

Keyboard shortcuts

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