Documentation ¶
Index ¶
- func AllPayments(DB *gorm.DB) func(w rest.ResponseWriter, r *rest.Request)
- func CreatePayment(DB *gorm.DB) func(w rest.ResponseWriter, r *rest.Request)
- func DeleteAllPayments(DB *gorm.DB) func(w rest.ResponseWriter, r *rest.Request)
- func DeletePayment(DB *gorm.DB) func(w rest.ResponseWriter, r *rest.Request)
- func GetPayment(DB *gorm.DB) func(w rest.ResponseWriter, r *rest.Request)
- func SetAllPayments(DB *gorm.DB) func(w rest.ResponseWriter, r *rest.Request)
- func StartServer(port int, DB *gorm.DB) error
- func UpdatePayment(DB *gorm.DB) func(w rest.ResponseWriter, r *rest.Request)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AllPayments ¶
AllPayments handler
func CreatePayment ¶
CreatePayment handler
func DeleteAllPayments ¶
DeleteAllPayments handler
func DeletePayment ¶
DeletePayment handler
func GetPayment ¶
GetPayment handler
func SetAllPayments ¶
SetAllPayments handler
func UpdatePayment ¶
UpdatePayment handler
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.