command_handlers

package
v0.0.0-...-b8bafe8 Latest Latest
Warning

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

Go to latest
Published: Aug 12, 2023 License: MIT Imports: 13 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type CommandHandler

type CommandHandler interface {
	Handle() error
}

type CommandsHandler

type CommandsHandler struct {
	SignUpHandler *SignUpHandler
	// contains filtered or unexported fields
}

func New

func New(signUpHandler *SignUpHandler, logger log.Logger) (*CommandsHandler, error)

type SignUpHandler

type SignUpHandler struct {
	DoneKey string
	// contains filtered or unexported fields
}

func NewSignUpCommandHandler

func NewSignUpCommandHandler(consumer meesage_broker.Consumer, service app.UseCase, logger log.Logger, publisher publisher.CommandPublisher) *SignUpHandler

func (SignUpHandler) Handle

func (h SignUpHandler) Handle() error

Jump to

Keyboard shortcuts

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