Categorygithub.com/Kerensky585/walletapi
modulepackage
0.1.9
Repository: https://github.com/kerensky585/walletapi.git
Documentation: pkg.go.dev

# README

walletapi

Example GO lang wallet API Simple api for creating endpoints to wallet type API REST calls, and DB connection and logic for managing balance.

see: https://pkg.go.dev/github.com/Kerensky585/walletapi

# Packages

No description provided by the author

# Functions

Read stting file specified and openthe DB connection of File or Remote DB If tables do not exist in the DB file provided create them.
Function for generating the tokens.
Initialise end point routes.
Logic to vlaidate the business logic contratints on the wallet balance and amounts.
Non negative vaules only are allowed by this function.
This helps in validating the token.

# Variables

No description provided by the author
No description provided by the author

# Structs

Struct to represent a very basic wallet Entity - use to create out schema.