parameters

package
v0.0.0-...-7b97167 Latest Latest
Warning

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

Go to latest
Published: Jul 15, 2020 License: GPL-3.0 Imports: 0 Imported by: 0

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.

Jump to

Keyboard shortcuts

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