Documentation ¶ Index ¶ type DBridge func NewDBridge(ethClient *ethclient.Client, name, url string, ...) (a *DBridge, err error) func (ap *DBridge) Opts() *bridges.Opts func (ap *DBridge) Run(helper *bridges.Helper) (interface{}, error) type Output Constants ¶ This section is empty. Variables ¶ This section is empty. Functions ¶ This section is empty. Types ¶ type DBridge ¶ type DBridge struct { CLient *ethclient.Client Name string Url string Lambda bool Func func(*bridges.Helper) (*Output, error) } func NewDBridge ¶ func NewDBridge(ethClient *ethclient.Client, name, url string, f func(*bridges.Helper) (*Output, error)) (a *DBridge, err error) func (*DBridge) Opts ¶ func (ap *DBridge) Opts() *bridges.Opts func (*DBridge) Run ¶ func (ap *DBridge) Run(helper *bridges.Helper) (interface{}, error) type Output ¶ type Output struct { ChainId string `json:"chainId"` BlockNum string `json:"blockNum"` TxHash string `json:"txhash"` Data2 bridges.JSON `json:"Data2"` } Source Files ¶ View all Source files bridge.go Click to show internal directories. Click to hide internal directories.