handlers

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

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

Go to latest
Published: Jan 27, 2023 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

View Source
const (
	ResponseErrAcceptReservedMoney string = "Error: accepting reserved money"
)
View Source
const (
	ResponseErrGetUserBalance string = "Error: getting the user balance"
)
View Source
const (
	ResponseErrRefillUserAccount string = "Error: refilling user account"
)
View Source
const (
	ResponseErrReserveUsersAccountMoney string = "Error: reserving money"
)

Variables

This section is empty.

Functions

func AcceptReservedMoney

func AcceptReservedMoney(w http.ResponseWriter, r *http.Request)

func GetUserBalance

func GetUserBalance(w http.ResponseWriter, r *http.Request)

func RefillUserAccount

func RefillUserAccount(w http.ResponseWriter, r *http.Request)

func ReserveUsersAccountMoney

func ReserveUsersAccountMoney(w http.ResponseWriter, r *http.Request)

Types

This section is empty.

Jump to

Keyboard shortcuts

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