Documentation ¶
Index ¶
- func CreateCheckoutSession(ctx *fiber.Ctx) error
- func CreateProduct(ctx *fiber.Ctx) error
- func GetAllProduct(ctx *fiber.Ctx) error
- func GetSession(ctx *fiber.Ctx) error
- func Login(ctx *fiber.Ctx) error
- func VerifyToken() fiber.Handler
- func Webhook(ctx *fiber.Ctx) error
- type CreateCheckoutSessionResponse
- type LoginInput
- type Token
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CreateCheckoutSession ¶
func CreateCheckoutSession(ctx *fiber.Ctx) error
CreateCheckoutSession creates a stripe checkout
func CreateProduct ¶
func CreateProduct(ctx *fiber.Ctx) error
CreateProduct creates a stripe product
Types ¶
type CreateCheckoutSessionResponse ¶
type CreateCheckoutSessionResponse struct {
SessionID string `json:"id"`
}
CreateCheckoutSessionResponse has the checkout session id
type LoginInput ¶
Click to show internal directories.
Click to hide internal directories.