Documentation ¶
Index ¶
- Variables
- func ByteSliceToByte2(x []byte) (rv [2]byte)
- func ByteSliceToByte32(x []byte) (rv [32]byte)
- func ConnectToEthereum() (err error)
- func DecryptKeyFile(keyFile, password string) (*keystore.Key, error)
- func DecryptKeyFileData(data, password string) (*keystore.Key, error)
- func SendTokensHandler(c *gin.Context)
- func Setup(dbf map[string]bool, lfp *os.File, ec *data.EthConfigData)
- func SetupMux(router *gin.Engine)
- func SetupRealm(r string)
Constants ¶
This section is empty.
Variables ¶
View Source
var DbFlags map[string]bool
Functions ¶
func ByteSliceToByte2 ¶
func ByteSliceToByte32 ¶
func ConnectToEthereum ¶
func ConnectToEthereum() (err error)
func DecryptKeyFile ¶
DecryptKeyFile reads in a key file decrypt it with the password.
func DecryptKeyFileData ¶
DecryptKeyFileData takes keyfile data and decrypt it with the password.
func SendTokensHandler ¶
func Setup ¶
-------------------------------------------------------------------------------------------------------------------------------------------------------------
func SetupRealm ¶
func SetupRealm(r string)
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.