messagehandler

package
v1.0.0 Latest Latest
Warning

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

Go to latest
Published: Mar 22, 2026 License: AGPL-3.0 Imports: 17 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	ErrInvalidArguments = errors.New("invalid arguments for command")
	ErrUnknownCommand   = errors.New("unknown command")
)
View Source
var (
	ErrInvalidAmount = errors.New("invalid amount, please enter a positive decimal value, example: 99.99")
)

Functions

This section is empty.

Types

type Service

type Service struct {
	// contains filtered or unexported fields
}

func New

func New(
	cfg config.App,
	userRepo *user.Repository,
	urlSignService *urlsign.Service,
	logger zerolog.Logger,
) *Service

func (*Service) HandleMessage

func (s *Service) HandleMessage(ctx context.Context, msg slack.Message) (commandresponse.Message, error)

Jump to

Keyboard shortcuts

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