controller

package
v0.0.0-...-ffb043f Latest Latest
Warning

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

Go to latest
Published: Jan 21, 2022 License: MIT Imports: 1 Imported by: 0

Documentation

Overview

Package controller adalah top level dari package controller/handler dari routing package untuk membuat response sukses atau gagal berdasarkan bisnis logic yg dibutuhkan

package ini digunakan untuk menerima data masuk dan melakukan parsing data sesuai dengan kebutuhan dari masing-masing bisnis logic nya. jika data yang dibutuhkan tidak sesuai, akan mengembalikan error berupa response error

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type CallbackControllerInterface

type CallbackControllerInterface interface {
	XenditEWalletHandler(e echo.Context) error
}

type CartControllerInterface

type CartControllerInterface interface {
	AddToCartHandler(e echo.Context) error
	GetCartHandler(e echo.Context) error
}

CartControllerInterface adalah kumpulan controller/handler yg berkaitan dengan keranjang belanja

type CheckoutControllerInterface

type CheckoutControllerInterface interface {
	GetCheckoutHandler(e echo.Context) error
	UpdateHandler(e echo.Context) error
	PostHandler(e echo.Context) error
}

CheckoutControllerInterface adalah kumpulan controller/handler yang berkaitan dengan checkout/proses keranjang belanja

type ProductControllerInterface

type ProductControllerInterface interface {
	GetProductsHandler(e echo.Context) error
	DetailProductHandler(e echo.Context) error
}

ProductControllerInterface adalah kumpulan controller/handler products

type UserControllerInterface

type UserControllerInterface interface {
	LoginHandler(e echo.Context) error
	RegisterHandler(e echo.Context) error
}

UserControllerInterface adalah kumpulan controller/handler user

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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