package
0.0.0-20190524043826-756a8f6a7234
Repository: https://github.com/antoniomika/share.git
Documentation: pkg.go.dev

# Functions

AuthMiddleware is the middleware for handling and verifying auth.
CleanupMiddleware is the middleware to clean expired objects.
GetFirebaseConfig returns the FireBase config with the user's ip address.
RandStringBytesMaskImprSrc creates a random string of length n.
ReturnErr returns an error when it happens.
ReturnJSON formats a response as JSON.

# Structs

FirebaseConfig is the firebase configuration.
LinkObject is the link location.
UploadObject is the data model for an upload.
UserObject is the base user.