handlers

package
v0.0.0-...-4ac03a4 Latest Latest
Warning

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

Go to latest
Published: Mar 21, 2024 License: MIT Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type CreateDebt

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

func NewCreateDebtHandler

func NewCreateDebtHandler(repository entity.DebtsRepository) *CreateDebt

func (*CreateDebt) Handle

func (c *CreateDebt) Handle(w http.ResponseWriter, r *http.Request)

type ErrorResponse

type ErrorResponse struct {
	Message string   `json:"message"`
	Errors  []string `json:"errors,omitempty"`
}

type GetDebts

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

func NewGetDebtsHandler

func NewGetDebtsHandler(repository entity.DebtsRepository) *GetDebts

func (*GetDebts) Handle

func (h *GetDebts) Handle(w http.ResponseWriter, r *http.Request)

Jump to

Keyboard shortcuts

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