Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit 5d8db96

Browse files
committed
add Tokens struct to config parser
1 parent 5f8c14b commit 5d8db96

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

‎utils/config/parser.go

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,13 @@ import (
66
"io/ioutil"
77
)
88

9+
type Tokens struct {
10+
Recaptcha string `json:"recaptcha"`
11+
}
12+
913
type Config struct {
1014
Port int `json:"port"`
15+
Tokens Tokens `json:"tokens"`
1116
}
1217

1318
var MainConfig Config

0 commit comments

Comments
(0)

AltStyle によって変換されたページ (->オリジナル) /