command

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Mar 13, 2022 License: GPL-3.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AddInput

type AddInput struct {
	UserID      int64
	ChatID      int64
	InputType   string
	Name        string
	Description string
}

AddInput TODO

type AddInputHandler

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

AddInputHandler is a handler for the AddInput command.

func NewAddInputHandler

func NewAddInputHandler(inputFactory domain.InputFactory, inputRepository domain.InputRepository) AddInputHandler

NewAddInputHandler insantiate an instance of AddInputHandler.

func (AddInputHandler) Handle

func (h AddInputHandler) Handle(ctx context.Context, cmd AddInput) error

Handle execute the AddInput command.

Jump to

Keyboard shortcuts

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