(ctx *gin.Context)
| 107 | } |
| 108 | |
| 109 | func (a *Auth) tokenFromQuery(ctx *gin.Context) string { |
| 110 | return ctx.Request.URL.Query().Get("token") |
| 111 | } |
| 112 | |
| 113 | func (a *Auth) tokenFromXGotifyHeader(ctx *gin.Context) string { |
| 114 | return ctx.Request.Header.Get(headerName) |
no outgoing calls
no test coverage detected