passwordverifyrequest

package
v0.0.0-...-d8e0d35 Latest Latest
Warning

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

Go to latest
Published: Mar 4, 2023 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type DTO

type DTO struct {
	ID        string   `json:"id"`
	ProjectID string   `json:"projectID"`
	Action    string   `json:"action"`
	Data      *DTOData `json:"data"`
}

func NewFromBody

func NewFromBody(body []byte) (*DTO, error)

NewFromBody returns new request DTO for 'passwordVerify' action from given body.

type DTOData

type DTOData struct {
	Username string `json:"username"`
	Password string `json:"password"`
}

Jump to

Keyboard shortcuts

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