handler

package
v0.0.0-...-1d80aea Latest Latest
Warning

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

Go to latest
Published: Feb 6, 2024 License: MPL-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type HandlerConfig

type HandlerConfig struct {
	Db   *mongo.Database
	Port string
}

func NewHandlerConfig

func NewHandlerConfig(config *configs.Conf, db *mongo.Database) *HandlerConfig

type OrderHandler

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

func NewOrderHandler

func NewOrderHandler(orderUseCase *usecase.OrderUseCase) *OrderHandler

func (*OrderHandler) Create

func (o *OrderHandler) Create(c *gin.Context)

func (*OrderHandler) List

func (o *OrderHandler) List(c *gin.Context)

Jump to

Keyboard shortcuts

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