Documentation ¶
Index ¶
- Constants
- Variables
- func InitCreated(transfer transfers.Transfer, queue *messages.Queue)
- func Start(repository repository.Repository, broker messages.Broker, ...)
- type CreateCommand
- type DeleteCommand
- type LoginQuery
- type MailConfirmation
- type ReadQuery
- type ReadResponse
- type TerminalConfirmation
- type UpdateCommand
- type VerifyCommand
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 Start ¶
func Start(repository repository.Repository, broker messages.Broker, hashing hashing.Hashing)
Types ¶
type CreateCommand ¶
type DeleteCommand ¶
type LoginQuery ¶
type MailConfirmation ¶
type MailConfirmation = mail.Confirmation
type ReadResponse ¶
type TerminalConfirmation ¶
type TerminalConfirmation = terminal.Confirmation
type UpdateCommand ¶
type VerifyCommand ¶
Click to show internal directories.
Click to hide internal directories.