controller

package
v0.0.0-...-aead407 Latest Latest
Warning

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

Go to latest
Published: Dec 11, 2020 License: MIT Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type CardController

type CardController struct{}

Card model

func NewCardController

func NewCardController() *CardController

NewPaymentController creates a new instance

func (*CardController) CreateCard

func (cc *CardController) CreateCard(c echo.Context) error

CreateCard func

func (*CardController) DeleteCard

func (cc *CardController) DeleteCard(c echo.Context) error

CreateCard func

func (*CardController) GetCard

func (cc *CardController) GetCard(c echo.Context) error

GetCard func

type PaymentController

type PaymentController struct {
	Handler *service.AuthorizationHandler
}

PaymentController model

func NewPaymentController

func NewPaymentController() *PaymentController

NewPaymentController creates a new instance

func (*PaymentController) CreatePayment

func (p *PaymentController) CreatePayment(c echo.Context) error

CreatePayment func

Jump to

Keyboard shortcuts

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