Documentation ¶
Index ¶
Constants ¶
View Source
const ( // DefaultQValue is the default qvalue to assign to an encoding if no explicit qvalue is set. // This is actually kind of ambiguous in RFC 2616, so hopefully it's correct. // The examples seem to indicate that it is. DefaultQValue = 1.0 )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type App ¶
type Config ¶
type Config struct { HTTPListenAddr string Environment string // i.e: production // EOSQ configruation payload APIEndpointURL string // i.e: https://dev1.api.dfuse.dev ApiKey string // i.e: web_XXXXXXXXXXXXXXXXXXXXXX AuthEndpointURL string // i.e: https://auth.dfuse.io AvailableNetworks string // this is a JSON string ie: '[{"id": "eos-mainnet", "is_test": false, "logo": "/images/eos-mainnet.png", "name": "EOS Mainnet", "url": "https://eosq.app"}]' ChainCoreSymbol string // The chain's core symbol to use in the config, should be in the form <precision>,<symbol code> like 4,EOS. DisableAnalytics bool // Disables sentry and segment DefaultNetwork string // The default network that is displayed, should correspond to an id in the avaiable networks DisplayPrice bool // Should eosq display prices }
Click to show internal directories.
Click to hide internal directories.