package
0.1.5-beta
Repository: https://github.com/blockitifluy/coffeeco.git
Documentation: pkg.go.dev

# Functions

NewServer creates a server with the database and routes added.

# Structs

AddPostRequest struct should be used for request for adding a new Post in the database.
AssetCache is represents the Asset stored in the Cache.
ConstantFileOptions is for the method [github.com/Blockitifluy/CoffeeCo/api.ConstantFile].
ImageData contains the URL, content, content-type of an image.
LoginUser is used for login users and contains: - Handle - Password (hasn't been hashed yet).
PostDB is a struct replicata of the `Posts` table.
PostListBody is used by [coffeecoserver/api.server.PostFeedList] and only contains Amount int value.
PublicUser is the root of most User structs contains non-personal information about the user.
RouteTemplate is a server route, not yet loaded by the server.
SentUser contains all the regular information from [coffeecoserver/api.PublicUser] as well as: - Password - Email.
Server contains: - Server (Gorilla Mux), - Database (Sqlite).
User contains all the user information provided from the database.