action

package
v0.0.0-...-d98c8e0 Latest Latest
Warning

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

Go to latest
Published: Jul 26, 2022 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type CreateQuestion

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

func NewCreateQuestion

func NewCreateQuestion() *CreateQuestion

func (*CreateQuestion) Handler

func (a *CreateQuestion) Handler(ctx context.Context, req entity.Question) (err error)

type DeleteQuestion

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

func NewDeleteQuestion

func NewDeleteQuestion() *DeleteQuestion

func (*DeleteQuestion) Handler

func (a *DeleteQuestion) Handler(ctx context.Context, req entity.Question) (err error)

type GetAllQuestion

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

func NewGetAllQuestion

func NewGetAllQuestion() *GetAllQuestion

func (*GetAllQuestion) Handler

func (a *GetAllQuestion) Handler(ctx context.Context, req entity.Question) (res []entity.Question, err error)

type GetQuestion

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

func NewGetQuestion

func NewGetQuestion() *GetQuestion

func (*GetQuestion) Handler

func (a *GetQuestion) Handler(ctx context.Context, req entity.Question) (res entity.Question, err error)

type UpdateQuestion

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

func NewUpdateQuestion

func NewUpdateQuestion() *UpdateQuestion

func (*UpdateQuestion) Handler

func (a *UpdateQuestion) Handler(ctx context.Context, req entity.Question) (err error)

Jump to

Keyboard shortcuts

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