diff options
author | Valery Piashchynski <[email protected]> | 2021-01-15 00:29:23 +0300 |
---|---|---|
committer | Valery Piashchynski <[email protected]> | 2021-01-15 00:29:23 +0300 |
commit | aff4d2c7a92ae014988b27b27069b15a971b6c36 (patch) | |
tree | 50dc6e22db7ff51b0fcf3cce0a45b7b739e1f300 /plugins/http/handler.go | |
parent | 7542ae2d4c392290766405d31996378378aad975 (diff) |
Viper doesn't support `yaml` structure tags, it uses mapstructure
instead
Diffstat (limited to 'plugins/http/handler.go')
-rw-r--r-- | plugins/http/handler.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/http/handler.go b/plugins/http/handler.go index 9c40cdfc..1c7f79e3 100644 --- a/plugins/http/handler.go +++ b/plugins/http/handler.go @@ -24,7 +24,7 @@ const ( ) // MB is 1024 bytes -const MB = 1024 * 1024 +const MB uint64 = 1024 * 1024 // ErrorEvent represents singular http error event. type ErrorEvent struct { |