Documentation ¶
Overview ¶
Package config provides a simple way to read and write configuration files.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Config ¶
type Config struct { // SlackBotToken is the token of the slack bot. SlackBotToken string `yaml:"slack_bot_token"` // SlackAppToken is the token of the slack app. SlackAppToken string `yaml:"slack_app_token"` // Email is the email address of the user. // this is used to authenticate with signoz and should be a READ ONLY KEY. SignozEmail string `yaml:"signoz_email"` // Password is the password of the user. // this is used to authenticate with signoz and should be a READ ONLY KEY. // inject only with init container! SignozPassword string `yaml:"signoz_password"` // SignozBaseURL is the base url of the signoz instance. SignozBaseURL string `yaml:"signoz_base_url"` // RelayerURLS is the list of RFQ relayer URLs. RelayerURLS []string `yaml:"rfq_relayer_urls"` // RFQApiURL is the URL of the RFQ API. RFQApiURL string `yaml:"rfq_api_url"` // OmniRPCURL is the URL of the Omni RPC. OmniRPCURL string `yaml:"omnirpc_url"` // Signer is the signer config. Signer config.SignerConfig `yaml:"signer"` // SubmitterConfig is the submitter config. SubmitterConfig submitterConfig.Config `yaml:"submitter_config"` // Database is the database config. Database DatabaseConfig `yaml:"database"` }
Config represents the configuration of the application.
type DatabaseConfig ¶ added in v0.4.15
type DatabaseConfig struct { Type string `yaml:"type"` DSN string `yaml:"dsn"` // Data Source Name }
DatabaseConfig represents the configuration for the database.
Click to show internal directories.
Click to hide internal directories.