Versions in this module Expand all Collapse all v0 v0.1.0 Jan 28, 2021 Changes in this version + const CaptiveCoreConfigAppendPathName + const DatabaseURLFlagName + const StellarCoreBinaryPathName + const StellarCoreDBURLFlagName + const StellarCoreURLFlagName + func ApplyFlags(config *Config, flags support.ConfigOptions) + type App struct + func NewApp(config Config) (*App, error) + func NewAppFromFlags(config *Config, flags support.ConfigOptions) *App + func (a *App) Close() + func (a *App) CloseDB() + func (a *App) DeleteUnretainedHistory() error + func (a *App) GetCoreSettings() actions.CoreSettings + func (a *App) HistoryQ() *history.Q + func (a *App) HorizonSession(ctx context.Context) *db.Session + func (a *App) Ingestion() ingest.System + func (a *App) Serve() + func (a *App) Tick() + func (a *App) UpdateFeeStatsState() + func (a *App) UpdateLedgerState() + func (a *App) UpdateStellarCoreInfo() + type Config struct + AdminPort uint + ApplyMigrations bool + CaptiveCoreBinaryPath string + CaptiveCoreConfigAppendPath string + CaptiveCoreHTTPPort uint + CheckpointFrequency uint32 + ConnectionTimeout time.Duration + CursorName string + DatabaseURL string + EnableCaptiveCoreIngestion bool + FriendbotURL *url.URL + HistoryArchiveURLs []string + HistoryRetentionCount uint + HorizonDBMaxIdleConnections int + HorizonDBMaxOpenConnections int + Ingest bool + IngestDisableStateVerification bool + LogFile string + LogLevel logrus.Level + LogglyTag string + LogglyToken string + MaxDBConnections int + MaxPathLength uint + NetworkPassphrase string + Port uint + RateQuota *throttled.RateQuota + RemoteCaptiveCoreURL string + SSEUpdateFrequency time.Duration + SentryDSN string + SkipCursorUpdate bool + StaleThreshold uint + StellarCoreDatabaseURL string + StellarCoreURL string + TLSCert string + TLSKey string + func Flags() (*Config, support.ConfigOptions)