Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Interface for Users and additional user data #27

Closed
poundifdef opened this issue Oct 13, 2023 · 0 comments · Fixed by #32
Closed

Interface for Users and additional user data #27

poundifdef opened this issue Oct 13, 2023 · 0 comments · Fixed by #32
Assignees

Comments

@poundifdef
Copy link
Contributor

The [users] section of the config file only has a key value pair (API Key -> database name). We need to be able to have more data associated with users.

  1. We should have an interface for managing users (for example, func GetUserByAPIKey() User)
  2. We should have a proper User interface. Right now that will only contain a function GetDatabase() but we will add more user fields in the future.
  3. That interface should read data from a config file like it is today. In the future we'll want to use a database for managing user information.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants