package
0.0.0-20240911163354-b209892be274
Repository: https://github.com/build-d-an-ki-n-truc/auth.git
Documentation: pkg.go.dev

# Functions

CRUD Operation for User Collection CreateUser creates a new user.
DeleteUser deletes an user by ID.
Disconnect from MongoDB.
Initialize a connection to MongoDB.
ReadAllUsers reads all users.
ReadUser reads an user by username.
UpdateUser updates an user by ID.

# Variables

Client is the MongoDB client object.
UserColl is the collection object for the user collection.

# Structs

No description provided by the author
No description provided by the author
User is a struct that represents an admin user.