controller

package
v0.0.0-...-2068963 Latest Latest
Warning

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

Go to latest
Published: Oct 1, 2024 License: MIT Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type OrderController

type OrderController interface {
	Route(*fiber.App)
	CreateOrder(fiber.Ctx) error
	GetOrder(fiber.Ctx) error
	GetAllOrders(fiber.Ctx) error
}

func NewOrderController

func NewOrderController(val *validator.Validate, ordServ service.OrderService) OrderController

type RestOrderServer

type RestOrderServer struct {
	grpc.ServerStream
	// contains filtered or unexported fields
}

func NewRestOrderServer

func NewRestOrderServer() *RestOrderServer

func (*RestOrderServer) Recv

func (x *RestOrderServer) Recv() (*pb.GetOrderResponse, error)

func (*RestOrderServer) Send

Jump to

Keyboard shortcuts

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