Documentation ¶
Index ¶
- func About(w http.ResponseWriter, req *http.Request) error
- func AddCategory(w http.ResponseWriter, req *http.Request) error
- func AddProduct(w http.ResponseWriter, req *http.Request) error
- func Admin(req *http.Request) bool
- func AdminAddProductPage(w http.ResponseWriter, req *http.Request) error
- func AdminCategoryPage(w http.ResponseWriter, req *http.Request) error
- func AdminPage(w http.ResponseWriter, req *http.Request) error
- func AdminProductPage(w http.ResponseWriter, req *http.Request) error
- func AdminWholesaler(w http.ResponseWriter, req *http.Request) error
- func AdminWholesalerConfirm(w http.ResponseWriter, req *http.Request) error
- func AdminWholesalerDelete(w http.ResponseWriter, req *http.Request) error
- func AdminWholesalerUpdate(w http.ResponseWriter, req *http.Request) error
- func AdminWholesalers(w http.ResponseWriter, req *http.Request) error
- func Anyone(req *http.Request) bool
- func Authentication(h http.Handler) http.Handler
- func BackupDB(w http.ResponseWriter, req *http.Request) error
- func Blog(w http.ResponseWriter, req *http.Request) error
- func BlogForm(w http.ResponseWriter, req *http.Request) error
- func BlogImage(w http.ResponseWriter, req *http.Request) error
- func Cart(w http.ResponseWriter, req *http.Request) error
- func Category(w http.ResponseWriter, req *http.Request) error
- func Close()
- func Confirm(w http.ResponseWriter, req *http.Request) error
- func ConfirmInvoice(w http.ResponseWriter, req *http.Request) error
- func Contact(w http.ResponseWriter, req *http.Request) error
- func CreateBlog(w http.ResponseWriter, req *http.Request) error
- func DeleteBlog(w http.ResponseWriter, req *http.Request) error
- func DeleteCategory(w http.ResponseWriter, req *http.Request) error
- func DeleteProduct(w http.ResponseWriter, req *http.Request) error
- func DoContact(w http.ResponseWriter, req *http.Request) error
- func DoLogin(w http.ResponseWriter, req *http.Request) error
- func DoLogout(w http.ResponseWriter, req *http.Request) error
- func DoResetPassword(w http.ResponseWriter, req *http.Request) error
- func ETag(h http.Handler) http.Handler
- func GetProduct(w http.ResponseWriter, req *http.Request) error
- func HandleErr(f HandlerFunc) http.HandlerFunc
- func Home(w http.ResponseWriter, req *http.Request) error
- func Human(req *http.Request) bool
- func IPWhitelist(req *http.Request) bool
- func Image(w http.ResponseWriter, req *http.Request) error
- func Init(c config.Config)
- func Invoice(w http.ResponseWriter, req *http.Request) error
- func LineItem(w http.ResponseWriter, req *http.Request) error
- func Log(logOutput string) alice.Constructor
- func Login(w http.ResponseWriter, req *http.Request) error
- func Logout(w http.ResponseWriter, req *http.Request) error
- func ManageBlogs(w http.ResponseWriter, req *http.Request) error
- func NewWholesaler(req *http.Request) bool
- func NotFound(w http.ResponseWriter, req *http.Request)
- func Perm(f ACL) alice.Constructor
- func Product(w http.ResponseWriter, req *http.Request) error
- func Purchase(w http.ResponseWriter, req *http.Request) error
- func Read(req *http.Request) bool
- func Redirect(w http.ResponseWriter, req *http.Request)
- func RenameCategory(w http.ResponseWriter, req *http.Request) error
- func RenameSubcategory(w http.ResponseWriter, req *http.Request) error
- func ResetPage(w http.ResponseWriter, req *http.Request) error
- func ResetPassword(w http.ResponseWriter, req *http.Request) error
- func SendReset(w http.ResponseWriter, req *http.Request) error
- func Shop(w http.ResponseWriter, req *http.Request) error
- func SubCategory(w http.ResponseWriter, req *http.Request) error
- func UpdateBlog(w http.ResponseWriter, req *http.Request) error
- func UpdatePrice(w http.ResponseWriter, req *http.Request) error
- func UpdateProduct(w http.ResponseWriter, req *http.Request) error
- func Wholesale(w http.ResponseWriter, req *http.Request) error
- func WholesaleApplication(w http.ResponseWriter, req *http.Request) error
- func WholesaleApply(w http.ResponseWriter, req *http.Request) error
- func WholesaleThanks(w http.ResponseWriter, req *http.Request) error
- func WholesaleVerify(w http.ResponseWriter, req *http.Request) error
- func Wholesaler(req *http.Request) bool
- type ACL
- type HandlerFunc
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AddCategory ¶
func AddCategory(w http.ResponseWriter, req *http.Request) error
func AddProduct ¶
func AddProduct(w http.ResponseWriter, req *http.Request) error
func AdminAddProductPage ¶
func AdminAddProductPage(w http.ResponseWriter, req *http.Request) error
func AdminCategoryPage ¶
func AdminCategoryPage(w http.ResponseWriter, req *http.Request) error
func AdminProductPage ¶
func AdminProductPage(w http.ResponseWriter, req *http.Request) error
func AdminWholesaler ¶
func AdminWholesaler(w http.ResponseWriter, req *http.Request) error
func AdminWholesalerConfirm ¶
func AdminWholesalerConfirm(w http.ResponseWriter, req *http.Request) error
func AdminWholesalerDelete ¶
func AdminWholesalerDelete(w http.ResponseWriter, req *http.Request) error
func AdminWholesalerUpdate ¶
func AdminWholesalerUpdate(w http.ResponseWriter, req *http.Request) error
func AdminWholesalers ¶
func AdminWholesalers(w http.ResponseWriter, req *http.Request) error
func ConfirmInvoice ¶
func ConfirmInvoice(w http.ResponseWriter, req *http.Request) error
func CreateBlog ¶
func CreateBlog(w http.ResponseWriter, req *http.Request) error
func DeleteBlog ¶
func DeleteBlog(w http.ResponseWriter, req *http.Request) error
func DeleteCategory ¶
func DeleteCategory(w http.ResponseWriter, req *http.Request) error
func DeleteProduct ¶
func DeleteProduct(w http.ResponseWriter, req *http.Request) error
func DoResetPassword ¶
func DoResetPassword(w http.ResponseWriter, req *http.Request) error
func GetProduct ¶
func GetProduct(w http.ResponseWriter, req *http.Request) error
func HandleErr ¶
func HandleErr(f HandlerFunc) http.HandlerFunc
func IPWhitelist ¶
CheckIPWhitelist makes sure the provided remote address (of the form IP:port) falls within the provided IP range (in CIDR form or a single IP address).
func Log ¶
func Log(logOutput string) alice.Constructor
func ManageBlogs ¶
func ManageBlogs(w http.ResponseWriter, req *http.Request) error
func NewWholesaler ¶
func Perm ¶
func Perm(f ACL) alice.Constructor
func RenameCategory ¶
func RenameCategory(w http.ResponseWriter, req *http.Request) error
func RenameSubcategory ¶
func RenameSubcategory(w http.ResponseWriter, req *http.Request) error
func ResetPassword ¶
func ResetPassword(w http.ResponseWriter, req *http.Request) error
func SubCategory ¶
func SubCategory(w http.ResponseWriter, req *http.Request) error
func UpdateBlog ¶
func UpdateBlog(w http.ResponseWriter, req *http.Request) error
func UpdatePrice ¶
func UpdatePrice(w http.ResponseWriter, req *http.Request) error
func UpdateProduct ¶
func UpdateProduct(w http.ResponseWriter, req *http.Request) error
func WholesaleApplication ¶
func WholesaleApplication(w http.ResponseWriter, req *http.Request) error
func WholesaleApply ¶
func WholesaleApply(w http.ResponseWriter, req *http.Request) error
func WholesaleThanks ¶
func WholesaleThanks(w http.ResponseWriter, req *http.Request) error
func WholesaleVerify ¶
func WholesaleVerify(w http.ResponseWriter, req *http.Request) error
func Wholesaler ¶
Types ¶
type HandlerFunc ¶
type HandlerFunc func(http.ResponseWriter, *http.Request) error
func GetWebhooks ¶
func GetWebhooks(ch chan bool) HandlerFunc
func Static ¶
func Static() HandlerFunc
Click to show internal directories.
Click to hide internal directories.