Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AppendUserData ¶
add to the context of the request data of the user if its logged in so it can be used in the rendered template or as variable for the handler
func AuthGitActions ¶
ask for credentials when making git actions such as read/write operation that depends on the user permissions over repo. works only under the /user/repo.git/info/refs endpoint
func IsLogged ¶
guard to reject requests under protected routes when the user is not logged in. Checks that the current client has an active session.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.