Categorygithub.com/go-bolo/user
modulepackage
0.8.0
Repository: https://github.com/go-bolo/user.git
Documentation: pkg.go.dev

# README

Go Bolo user plugin.

Features

  • Default user model
  • Usefull user endpoints and resource

Configs

// create a markdown table:

KeyTypeDefaultDescription
FACEBOOK_CLIENT_IDstring""Facebook app id
FACEBOOK_REDIRECT_URIstring""Facebook redirect url
FACEBOOK_CLIENT_SECRETstring""Facebook app secret

# Packages

No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author

# Functions

No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
SignInUser Used for Signing In the Users.
GetFacebookOAuthConfig will return the config to call facebook Login.
No description provided by the author
GetUserInfoFromFacebook will return information of user which is fetched from facebook.
No description provided by the author
Init - Start the redis session connection.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author

# Variables

SessionDB - Redis session connection for gets.
SessionDB - Redis session connection for writes.

# Structs

No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
Claims is a struct that will be encoded to a JWT.
Http user controller | struct with http handlers.
No description provided by the author
No description provided by the author
No description provided by the author
ErrorResponse is struct for sending error message with code.
No description provided by the author
FacebookUserDetails is struct used for user details.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
SuccessResponse is struct for sending error message with code.
No description provided by the author
UserDetails is struct used for user details.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author

# Type aliases

No description provided by the author