Versions in this module Expand all Collapse all v0 v0.1.43 Sep 10, 2021 v0.1.42 Sep 8, 2021 Changes in this version + var DbFlags map[string]bool + func ByteSliceToByte2(x []byte) (rv [2]byte) + func ByteSliceToByte32(x []byte) (rv [32]byte) + func CheckUserIsValid(www http.ResponseWriter, req *http.Request, un, pw string) (user_id string, ok bool) + func ConnectToEthereum() (err error) + func DecryptKeyFile(keyFile, password string) (*keystore.Key, error) + func DecryptKeyFileData(data, password string) (*keystore.Key, error) + func HandleDeleteKey(www http.ResponseWriter, req *http.Request) + func HandleKeyFile(www http.ResponseWriter, req *http.Request) + func HandlePrivateKey(www http.ResponseWriter, req *http.Request) + func HandleValidateKey(www http.ResponseWriter, req *http.Request) + func RequiredParameters(www http.ResponseWriter, req *http.Request, plist ...interface{}) bool + func Setup(dbf map[string]bool, lfp *os.File, ec *EthConfigData) + func SetupMux(mux *ymux.ServeMux) + func SetupRealm(r string) + type EthConfigData struct + AccountKey *keystore.Key + Client *ethclient.Client + ContractAddress map[string]string + FromAddress string + KeyFile string + KeyFilePassword string + URL_8545 string + UseEth string