Skip to content

Commit 330fd12

Browse files
Add Mod File
1 parent d7b6678 commit 330fd12

4 files changed

Lines changed: 25 additions & 0 deletions

File tree

README.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,3 +3,9 @@ Captcha system for InteractiveSSO
33

44

55
[Document](https://www.interactiveplus.org/InteractivePDK2021-DesignDoc/Backend/SimpleCaptchaAPI.html)
6+
7+
## Usage
8+
9+
```bash
10+
./interactivesso-captcha -conf "config.json"
11+
```

config_httponly.json

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
{
2+
"listenAddr": "0.0.0.0",
3+
"listenPort": "80"
4+
}

go.mod

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
module interactivesso-captcha
2+
3+
go 1.17
4+
5+
require (
6+
github.com/dchest/captcha v0.0.0-20200903113550-03f5f0333e1f // indirect
7+
github.com/google/uuid v1.3.0 // indirect
8+
github.com/julienschmidt/httprouter v1.3.0 // indirect
9+
)

go.sum

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
github.com/dchest/captcha v0.0.0-20200903113550-03f5f0333e1f h1:q/DpyjJjZs94bziQ7YkBmIlpqbVP7yw179rnzoNVX1M=
2+
github.com/dchest/captcha v0.0.0-20200903113550-03f5f0333e1f/go.mod h1:QGrK8vMWWHQYQ3QU9bw9Y9OPNfxccGzfb41qjvVeXtY=
3+
github.com/google/uuid v1.3.0 h1:t6JiXgmwXMjEs8VusXIJk2BXHsn+wx8BZdTaoZ5fu7I=
4+
github.com/google/uuid v1.3.0/go.mod h1:TIyPZe4MgqvfeYDBFedMoGGpEw/LqOeaOT+nhxU+yHo=
5+
github.com/julienschmidt/httprouter v1.3.0 h1:U0609e9tgbseu3rBINet9P48AI/D3oJs4dN7jwJOQ1U=
6+
github.com/julienschmidt/httprouter v1.3.0/go.mod h1:JR6WtHb+2LUe8TCKY3cZOxFyyO8IZAc4RVcycCCAKdM=

0 commit comments

Comments
 (0)