mirror of
https://github.com/lukaszraczylo/graphql-monitoring-proxy.git
synced 2026-06-05 23:03:48 +00:00
Adjust field alignment.
This commit is contained in:
+14
-14
@@ -9,15 +9,6 @@ import (
|
||||
|
||||
// config is a struct that holds the configuration of the application.
|
||||
type config struct {
|
||||
Cache struct {
|
||||
Client CacheClient
|
||||
CacheTTL int
|
||||
CacheEnable bool
|
||||
CacheRedisEnable bool
|
||||
CacheRedisURL string
|
||||
CacheRedisPassword string
|
||||
CacheRedisDB int
|
||||
}
|
||||
Logger *libpack_logging.LogConfig
|
||||
Monitoring *libpack_monitoring.MetricsSetup
|
||||
Api struct{ BannedUsersFile string }
|
||||
@@ -35,6 +26,20 @@ type config struct {
|
||||
IntrospectionAllowed []string
|
||||
BlockIntrospection bool
|
||||
}
|
||||
HasuraEventCleaner struct {
|
||||
EventMetadataDb string
|
||||
ClearOlderThan int
|
||||
Enable bool
|
||||
}
|
||||
Cache struct {
|
||||
Client CacheClient
|
||||
CacheRedisURL string
|
||||
CacheRedisPassword string
|
||||
CacheTTL int
|
||||
CacheRedisDB int
|
||||
CacheEnable bool
|
||||
CacheRedisEnable bool
|
||||
}
|
||||
Server struct {
|
||||
HostGraphQL string
|
||||
HostGraphQLReadOnly string
|
||||
@@ -49,9 +54,4 @@ type config struct {
|
||||
EnableApi bool
|
||||
PurgeOnCrawl bool
|
||||
}
|
||||
HasuraEventCleaner struct {
|
||||
Enable bool
|
||||
ClearOlderThan int // days to keep
|
||||
EventMetadataDb string
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user