-
Notifications
You must be signed in to change notification settings - Fork 0
/
api_auth.go
40 lines (32 loc) · 904 Bytes
/
api_auth.go
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
/*
* httprr.trys.cc
*
* A simple HTTP Request & Response Service.<br/> <br/> <b>Run locally: </b> <code>$ docker run -p 80:80 inherelab/httprr</code>
*
* API version: 0.0.1
* Contact: in.798@qq.com
* Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git)
*/
package api
import (
"github.com/gookit/rux"
"github.com/inherelab/httprr/app"
)
func BasicAuthUserPasswdGet(c *rux.Context) {
c.JSON(200, app.BuildReplay(c))
}
func BearerGet(c *rux.Context) {
c.JSON(200, app.BuildReplay(c))
}
func DigestAuthQopUserPasswdAlgorithmGet(c *rux.Context) {
c.JSON(200, app.BuildReplay(c))
}
func DigestAuthQopUserPasswdAlgorithmStaleAfterGet(c *rux.Context) {
c.JSON(200, app.BuildReplay(c))
}
func DigestAuthQopUserPasswdGet(c *rux.Context) {
c.JSON(200, app.BuildReplay(c))
}
func HiddenBasicAuthUserPasswdGet(c *rux.Context) {
c.JSON(200, app.BuildReplay(c))
}