user

package
v4.7.3 Latest Latest
Warning

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

Go to latest
Published: Sep 30, 2024 License: MIT Imports: 16 Imported by: 0

Documentation

Index

Constants

View Source
const (
	CollectionName = "users"
)

Variables

View Source
var (
	Create *create.Handler
	Read   *read.Handler
	Update *update.Handler
	Delete *delete.Handler
	Verify *verify.Handler
	Login  *login.Handler
)
View Source
var (
	Bcrypt = new(bcrypt.Bcrypt)
)
View Source
var (
	Created *created.Consumer
)
View Source
var (
	OpenCollection = collection.OpenUser
)
View Source
var QueueSendConfirmation = &messages.Queue{
	Name: messages.NewRecipientName(&messages.RecipientNameComponents{
		Service: "user",
		Entity:  "user",
		Action:  "send confirmation",
		Event:   "created",
		Status:  "succeeded",
	}),
	Bindings: []string{rabbitmq.BindingEventCreatedSucceeded},
}

Functions

func InitCreated

func InitCreated(transfer transfers.Transfer, queue *messages.Queue)

func Start

func Start(repository repository.Repository, broker messages.Broker, hashing hashing.Hashing)

Types

type CreateCommand

type CreateCommand = create.Command

type DeleteCommand

type DeleteCommand = delete.Command

type LoginQuery

type LoginQuery = login.Query

type MailConfirmation

type MailConfirmation = mail.Confirmation

type ReadQuery

type ReadQuery = read.Query

type ReadResponse

type ReadResponse = read.Response

type TerminalConfirmation

type TerminalConfirmation = terminal.Confirmation

type UpdateCommand

type UpdateCommand = update.Command

type VerifyCommand

type VerifyCommand = verify.Command

Jump to

Keyboard shortcuts

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