mirror of
https://github.com/alexgo-io/gaze-indexer.git
synced 2026-05-01 05:01:59 +08:00
11 lines
495 B
Go
11 lines
495 B
Go
package config
|
|
|
|
import "github.com/gaze-network/indexer-network/internal/postgres"
|
|
|
|
type Config struct {
|
|
Datasource string `mapstructure:"datasource"` // Datasource to fetch bitcoin data for Meta-Protocol e.g. `bitcoin-node`
|
|
Database string `mapstructure:"database"` // Database to store runes data.
|
|
APIHandlers []string `mapstructure:"api_handlers"` // List of API handlers to enable. (e.g. `http`)
|
|
Postgres postgres.Config `mapstructure:"postgres"`
|
|
}
|