Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Plugin ¶
type Plugin interface { // Init storage interface InitDao(d storage.Dao) // Init http router InitHttp() []router.Http // Receive Extrinsic data when subscribe extrinsic dispatch ProcessExtrinsic(*storage.Block, *storage.Extrinsic, []storage.Event) error // Receive Extrinsic data when subscribe extrinsic dispatch ProcessEvent(*storage.Block, *storage.Event, decimal.Decimal) error // Mysql tables schema auto migrate Migrate() // Subscribe Extrinsic with special module SubscribeExtrinsic() []string // Subscribe Events with special module SubscribeEvent() []string // Plugins version Version() string // Aims UI config UiConf() *UiConfig }
type UiConfig ¶
type UiConfig struct { Type string `json:"type"` Body struct { Type string `json:"type"` Api struct { Method string `json:"method"` Url string `json:"url"` RequestAdaptor string `json:"requestAdaptor"` Adaptor string `json:"adaptor"` } `json:"api"` SyncLocation bool `json:"syncLocation"` HeaderToolbar []string `json:"headerToolbar"` Columns []UiColumns `json:"columns"` } `json:"body"` }
Directories ¶
Path | Synopsis |
---|---|
tools
|
|
gen-plugin
You can use the "packr clean" command to clean up this, and any other packr generated files.
|
You can use the "packr clean" command to clean up this, and any other packr generated files. |
gen-plugin/packrd
You can use the "packr2 clean" command to clean up this, and any other packr generated files.
|
You can use the "packr2 clean" command to clean up this, and any other packr generated files. |
Click to show internal directories.
Click to hide internal directories.