read

package
v4.6.2 Latest Latest
Warning

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

Go to latest
Published: Aug 11, 2024 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Handler

type Handler struct {
	usecase.Read
}

func (*Handler) Handle

func (handler *Handler) Handle(query *Query) (*Response, error)

type Query

type Query struct {
	Id string
}

func RandomQuery

func RandomQuery() *Query

type Read

type Read struct {
	repository.Repository
}

func (*Read) Run

func (read *Read) Run(id *user.Id) (*user.User, error)

type Response

type Response struct {
	Id, Email, Username, Password string
	Verified                      bool
}

Jump to

Keyboard shortcuts

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