Documentation ¶
Index ¶
Constants ¶
View Source
const ( //ConnURL url to the blockchain ConnURL = "HTTP://127.0.0.1:7545" //OwnerPrivateKey private key from ganache only for dev proposes OwnerPrivateKey = "" //OwnerAddress address form the user whose going to deploy the contract OwnerAddress = "" )
View Source
const ( //SaltBytes is the number of bytes for the salt SaltBytes = 32 Time = 1 Memory = 64 * 1024 Threads = 4 KeyLen = 32 )
View Source
const ( //PrivateKeyPath path for private rsa key, change this in prod, and install key on server PrivateKeyPath = "./settings/my_keys/private_key" //PublicKeyPath path for public rsa key PublicKeyPath = "./settings/my_keys/public_key.pub" )
View Source
const (
//ConnString build connection string
ConnString = ""
)
Variables ¶
View Source
var SaltEmails = []byte("Demo")
SaltEmails use it to salt the hash
Functions ¶
This section is empty.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.