Documentation
      ¶
    
    
  
    
  
    Index ¶
- func CheckAuth(c *gin.Context, cfg conf.Config) (StatusCode int, err error)
 - func CleanURL(url string) string
 - func Client(c *gin.Context, cfg conf.Config) (*gitlab.Client, error)
 - func GetCookiePack(c *gin.Context, CSRFCookies []*http.Cookie) []*http.Cookie
 - func GetCtxBaseAPIURL(c *gin.Context, config conf.Config) string
 - func GetCtxBaseURL(c *gin.Context, config conf.Config) string
 - func GetCtxCookieCheckURL(c *gin.Context, config conf.Config) string
 - func GetCtxCookies(c *gin.Context) (GitlabCookies []*http.Cookie)
 - func GetCustomResponse(c *gin.Context, cfg conf.Config, method string, path string, body io.Reader) (*http.Response, error)
 - func GetHeaders(c *gin.Context)
 - func GetRedirectClient() *http.Client
 - func GetUserIP(c *gin.Context) string
 - func GetUserInfo(c *gin.Context, cfg conf.Config) (*gitlab.User, *gitlab.Response, error)
 - func GetUserMemberShip(c *gin.Context, cfg conf.Config, id int) (any, error)
 
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetCustomResponse ¶
func GetHeaders ¶
func GetRedirectClient ¶
func GetUserInfo ¶
Types ¶
This section is empty.
 Click to show internal directories. 
   Click to hide internal directories.