server

package
v1.0.6 Latest Latest
Warning

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

Go to latest
Published: Apr 7, 2021 License: MIT Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type CrudServer

type CrudServer struct {
	RpcClient     *rpc.Client
	EthClient     *ethclient.Client
	MongoDBClient *mongo.Client
	MongoDBName   string
	C             *config.Config
}

func (*CrudServer) Init

func (crudServer *CrudServer) Init()

func (*CrudServer) InitConfig added in v1.0.6

func (crudServer *CrudServer) InitConfig()

func (*CrudServer) InitEthClient added in v1.0.3

func (crudServer *CrudServer) InitEthClient()

func (*CrudServer) InitMongoDB

func (crudServer *CrudServer) InitMongoDB()

初始化mongodb连接

func (*CrudServer) InitRpcClient added in v1.0.3

func (crudServer *CrudServer) InitRpcClient()

初始化ethereum连接

Jump to

Keyboard shortcuts

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