package
0.0.0-20191110003957-35ac193dfecd
Repository: https://github.com/codelympicsdev/api.git
Documentation: pkg.go.dev

# Functions

GetAPIClientByID an api client from the database by id.
GetAttemptByID an attempt from the database by id.
GetAttemptCount gets amount of live attempts for a challenge and user.
GetAttemptsByUser gets all attempts by a certain user.
GetChallengeByID a challenge from the database by id.
GetChallenges all challenges from the database.
GetRootTrustClientByID a root trust client from the database by id.
GetUserByEmail a user from the database by email.
GetUserByID a user from the database by id.

# Structs

APIClient is the data stored about an api client in the database.
Attempt is the data stored about an attempt in the database.
AttemptInput is the input data for a specifc attempt.
AttemptOutput is the output data for a specifc attempt.
Challenge is the data stored about a challenge in the database.
RootTrustClient is a client that can talk to the authentication endpoints.
User is the data stored about a single user in the database.