Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( Name = "indexer-manager" Version string GitSHA string Timestamp string )
Functions ¶
func IdentityString ¶
func IdentityString() string
IdentityString returns the full app version string
Types ¶
type Config ¶
type Config struct { AppEnv string `json:"app_env" envconfig:"APP_ENV" default:"development"` DatabaseURL string `json:"database_url" envconfig:"DATABASE_URL" required:"true"` Address string `json:"address" envconfig:"ADDRESS" default:"127.0.0.1:8085"` // Rollbar RollbarAccessToken string `json:"rollbar_access_token" envconfig:"ROLLBAR_ACCESS_TOKEN"` RollbarServerRoot string `json:"rollbar_server_root" envconfig:"ROLLBAR_SERVER_ROOT" default:"github.com/figment-networks/indexer-manager"` GrpcMaxRecvSize int `json:"grpc_max_recv_size" envconfig:"GRPC_MAX_RECV_SIZE" default:"1073741824"` // 1024^3 // Embedded Scheduler EnableScheduler bool `json:"enable_scheduler" envconfig:"ENABLE_SCHEDULER"` SchedulerInitialConfigPath string `json:"scheduler_initial_config_path" envconfig:"SCHEDULER_INITIAL_CONFIG_PATH"` HealthCheckInterval time.Duration `json:"health_check_interval" envconfig:"HEALTH_CHECK_INTERVAL" default:"10s"` }
Config holds the configuration data
Click to show internal directories.
Click to hide internal directories.