controllers

package
v0.0.0-...-a593cc9 Latest Latest
Warning

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

Go to latest
Published: Mar 22, 2017 License: MIT Imports: 26 Imported by: 0

Documentation

Index

Constants

View Source
const (
	// This is a format string used by `time` package to extract meaningful information about the format.
	PaypalTimeFmt string = "15:04:05 Jan 02, 2006 MST"
)

Variables

View Source
var IPNLogger *log.Logger

Functions

func AddToCart

func AddToCart(ctx *gin.Context)

func BuyBoxSubscription

func BuyBoxSubscription(ctx *gin.Context)

func BuySampleBox

func BuySampleBox(ctx *gin.Context)

func CartShow

func CartShow(ctx *gin.Context)

func CodeExists

func CodeExists(ctx *gin.Context)

func CurrentLocale

func CurrentLocale(ctx *gin.Context) string

func CurrentUser

func CurrentUser(ctx *gin.Context) *models.User

func DB

func DB(ctx *gin.Context) *gorm.DB

func DeleteFromCart

func DeleteFromCart(ctx *gin.Context)

func HomeIndex

func HomeIndex(ctx *gin.Context)

func I18nFuncMap

func I18nFuncMap(ctx *gin.Context) template.FuncMap

func IpnReceiver

func IpnReceiver(ctx *gin.Context)

func IsAdminUser

func IsAdminUser(ctx *gin.Context) bool

func IsEditMode

func IsEditMode(ctx *gin.Context) bool

func ProductShow

func ProductShow(ctx *gin.Context)

func SwitchLocale

func SwitchLocale(ctx *gin.Context)

func UpdateItemQty

func UpdateItemQty(ctx *gin.Context)

Types

This section is empty.

Jump to

Keyboard shortcuts

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