package
0.0.0-20200222143219-9f73338b618e
Repository: https://github.com/lanseuo/go-ecommerce-api.git
Documentation: pkg.go.dev

# Functions

RespondWithMessage sends message string to response writer.

# Structs

Config stores application configuration.
GetProductResponse is a response for GetProductHandler.
GetProductsResponse is a response for GetProductsHandler.
Product is a sellable element.
Server keeps track of router, config and more.
TokenClaims is used to create JWT token.
User is used to store user information.
UserCredentials are used for signup and login.
UserError is used to indicate user what went wrong.