Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
IRMA
Github mirrors
irmago
Commits
621ab863
Commit
621ab863
authored
Jun 11, 2019
by
Sietse Ringers
Browse files
chore: add missing json tags on server configuration struct
parent
b8f27664
Changes
1
Hide whitespace changes
Inline
Side-by-side
server/api.go
View file @
621ab863
...
@@ -46,13 +46,13 @@ type Configuration struct {
...
@@ -46,13 +46,13 @@ type Configuration struct {
// Required to be set to true if URL does not begin with https:// in production mode.
// Required to be set to true if URL does not begin with https:// in production mode.
// In this case, the server would communicate with IRMA apps over plain HTTP. You must otherwise
// In this case, the server would communicate with IRMA apps over plain HTTP. You must otherwise
// ensure (using eg a reverse proxy with TLS enabled) that the attributes are protected in transit.
// ensure (using eg a reverse proxy with TLS enabled) that the attributes are protected in transit.
DisableTLS
bool
DisableTLS
bool
`json:"disable_tls" mapstructure:"disable_tls"`
// (Optional) email address of server admin, for incidental notifications such as breaking API changes
// (Optional) email address of server admin, for incidental notifications such as breaking API changes
// See https://github.com/privacybydesign/irmago/tree/master/server#specifying-an-email-address
// See https://github.com/privacybydesign/irmago/tree/master/server#specifying-an-email-address
// for more information
// for more information
Email
string
`json:"email" mapstructure:"email"`
Email
string
`json:"email" mapstructure:"email"`
// Enable server sent events for status updates (experimental; tends to hang when a reverse proxy is used)
// Enable server sent events for status updates (experimental; tends to hang when a reverse proxy is used)
EnableSSE
bool
EnableSSE
bool
`json:"enable_sse" mapstructure:"enable_sse"`
// Logging verbosity level: 0 is normal, 1 includes DEBUG level, 2 includes TRACE level
// Logging verbosity level: 0 is normal, 1 includes DEBUG level, 2 includes TRACE level
Verbose
int
`json:"verbose" mapstructure:"verbose"`
Verbose
int
`json:"verbose" mapstructure:"verbose"`
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment