func NewTestConfig() Config { return Config{ DatabaseUrl: test.DatabaseUrl(), StellarCoreDatabaseUrl: test.StellarCoreDatabaseUrl(), RateLimit: throttled.PerHour(1000), } }
func OpenStellarCoreTestDatabase() *sql.DB { result, err := sql.Open("postgres", test.StellarCoreDatabaseUrl()) if err != nil { log.Panic(err) } return result }