aboutsummaryrefslogtreecommitdiffstats
path: root/indexer/config.go
diff options
context:
space:
mode:
authorMeng-Ying Yang <garfield@dexon.org>2019-01-02 16:32:43 +0800
committerWei-Ning Huang <w@dexon.org>2019-04-09 13:50:00 +0800
commit3568ab353e65d81e7d321def79d6cf52f32a0a6c (patch)
tree703e3a148006b7c70aca13f5a3e6e1ce100f6efb /indexer/config.go
parent718a01b692258262845b9a6727a96becaa4f98f7 (diff)
downloaddexon-3568ab353e65d81e7d321def79d6cf52f32a0a6c.tar
dexon-3568ab353e65d81e7d321def79d6cf52f32a0a6c.tar.gz
dexon-3568ab353e65d81e7d321def79d6cf52f32a0a6c.tar.bz2
dexon-3568ab353e65d81e7d321def79d6cf52f32a0a6c.tar.lz
dexon-3568ab353e65d81e7d321def79d6cf52f32a0a6c.tar.xz
dexon-3568ab353e65d81e7d321def79d6cf52f32a0a6c.tar.zst
dexon-3568ab353e65d81e7d321def79d6cf52f32a0a6c.zip
Indexer plugin extension and custom flags support (#117)
* indexer: ReadOnlyBlockchain returns underlying engine * indexer: plugin configs support custom flags
Diffstat (limited to 'indexer/config.go')
-rw-r--r--indexer/config.go3
1 files changed, 3 insertions, 0 deletions
diff --git a/indexer/config.go b/indexer/config.go
index 3b626272a..396a23b66 100644
--- a/indexer/config.go
+++ b/indexer/config.go
@@ -11,6 +11,9 @@ type Config struct {
// Plugin path for building components.
Plugin string
+
+ // PluginFlags for construction if needed.
+ PluginFlags string
}
// NewIndexerFromConfig initialize exporter according to given config.