web

package
v0.0.0-...-3b5fe6f Latest Latest
Warning

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

Go to latest
Published: May 19, 2019 License: MIT Imports: 7 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AllPayments

func AllPayments(DB *gorm.DB) func(w rest.ResponseWriter, r *rest.Request)

AllPayments handler

func CreatePayment

func CreatePayment(DB *gorm.DB) func(w rest.ResponseWriter, r *rest.Request)

CreatePayment handler

func DeleteAllPayments

func DeleteAllPayments(DB *gorm.DB) func(w rest.ResponseWriter, r *rest.Request)

DeleteAllPayments handler

func DeletePayment

func DeletePayment(DB *gorm.DB) func(w rest.ResponseWriter, r *rest.Request)

DeletePayment handler

func GetPayment

func GetPayment(DB *gorm.DB) func(w rest.ResponseWriter, r *rest.Request)

GetPayment handler

func SetAllPayments

func SetAllPayments(DB *gorm.DB) func(w rest.ResponseWriter, r *rest.Request)

SetAllPayments handler

func StartServer

func StartServer(port int, DB *gorm.DB) error

StartServer starts the server

func UpdatePayment

func UpdatePayment(DB *gorm.DB) func(w rest.ResponseWriter, r *rest.Request)

UpdatePayment handler

Types

This section is empty.

Jump to

Keyboard shortcuts

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