Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Authenticate ¶
func Authenticate(ctx *fasthttp.RequestCtx) (*model.User, *model.UserConnection, error)
func CurrentUser ¶
func CurrentUser(ctx *fasthttp.RequestCtx) *model.User
func FacebookAuthCodeURL ¶
func FacebookAuthCodeURL() string
func GoogleAuthCodeURL ¶
func GoogleAuthCodeURL() string
func SetCurrentUser ¶
func SetCurrentUser(ctx *fasthttp.RequestCtx, user *model.User)
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.