package
0.0.0-20220108215527-eedabaa99e53
Repository: https://github.com/bendomey/avc-server.git
Documentation: pkg.go.dev

# Functions

AuthenticateAdmin checks if the user trying to access that resource is truly an Admin.
AuthenticateUser checks if the user trying to access that resource is truly a user (customer, lawyer).
GenerateQuery takes a loook at what is coming from client and then generates a sieve.
GenerateRandomString generates a random string.
GetContextInjected helps get the context data with the specific key given to that context value.
GetPrincipalID returns a unique context value name for each hit.
GetReolvers helps you get reolvers from individual models.
No description provided by the author
MustGet will return the env or panic if it is not present.
MustGetBool will return the env as boolean or panic if it is not present.
Sentry starts.
No description provided by the author

# Structs

AdminFromToken unmarshals cliams from jwt to get admin id.
DateRangeType typings.
FilterQuery type to help generate filter for queries.
Search typings.
UserFromToken unmarshals cliams from jwt to get admin id.