package
0.0.0-20220808152607-72b452d43e2a
Repository: https://github.com/jlucktay/rest-api.git
Documentation: pkg.go.dev
# Functions
New creates a new Server utilising the given StorageType to handle Payment storage, and sets up the HTTP router.
NewWrapper will return a new ReadWrapper.
# Structs
No description provided by the author
ReadWrapper adds some extra information around Payment structs that are read from the API.
No description provided by the author
Server is a RESTful HTTP API server offering CRUD functionality to store Payments.
# Type aliases
StorageType is an enum to differentiate between storage implementations.