utils

package
v0.0.0-...-4db4d85 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jun 5, 2019 License: MIT Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type EosWrapper

type EosWrapper struct {
	BaseUrl string
}

func (*EosWrapper) GetTransaction

func (instance *EosWrapper) GetTransaction(id string) (result map[string]interface{}, err error)

type MongoWrapper

type MongoWrapper struct {
	// contains filtered or unexported fields
}

func (*MongoWrapper) Close

func (instance *MongoWrapper) Close() (err error)

func (*MongoWrapper) GetProcessedDatas

func (instance *MongoWrapper) GetProcessedDatas(status string) (results []QueryResult, errInfo error)

func (*MongoWrapper) InitClient

func (instance *MongoWrapper) InitClient(mongoUrl string, dbName string, collectionName string, mongoOpt string) (err error)

func (*MongoWrapper) UpdateTxId

func (instance *MongoWrapper) UpdateTxId(hash string, txId string) (errInfo error)

type QueryResult

type QueryResult struct {
	Hash      string
	LocalTxId string
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL