Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( CustError = parse("digitalgoods.proxysto.re/*.html", "customer.html", "customer/error.html") CustOrder = parse("digitalgoods.proxysto.re/*.html", "customer.html", "customer/order.html") CustPurchase = parse("digitalgoods.proxysto.re/*.html", "customer.html", "customer/purchase.html") CustSite = parse("digitalgoods.proxysto.re/*.html", "customer.html") StaffError = parse("staff.html", "staff/error.html") StaffIndex = parse("staff.html", "staff/index.html") StaffView = parse("staff.html", "staff/view.html") StaffMarkPaid = parse("staff.html", "staff/mark-paid.html") StaffLogin = parse("staff.html", "staff/login.html") StaffPurchaseNotFound = parse("staff.html", "staff/purchase-not-found.html") StaffSelect = parse("staff.html", "staff/select.html") StaffUpload = parse("staff.html", "staff/upload.html") )
View Source
var Files embed.FS
Functions ¶
This section is empty.
Types ¶
type CustErrorData ¶
type CustErrorData struct { ssg.TemplateData Message string }
type CustOrderData ¶
type CustOrderData struct { ssg.TemplateData Articles func() ([]*digitalgoods.Article, error) AvailableEUCountries []countries.CountryOption AvailableNonEU bool Catalog digitalgoods.Catalog Stock digitalgoods.Stock Cart *digitalgoods.Cart Area string EUCountry string CountryErr bool OrderErr bool }
type CustPurchaseData ¶
type CustPurchaseData struct { ssg.TemplateData ActivePaymentMethod string GroupedOrder []digitalgoods.OrderedArticle PaymentMethods []payment.Method Purchase *digitalgoods.Purchase URL string }
Click to show internal directories.
Click to hide internal directories.