config

package
v0.0.0-...-8af0f92 Latest Latest
Warning

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

Go to latest
Published: Jul 5, 2019 License: GPL-3.0 Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Assert

func Assert(msg string, err error)

func LoadKeyStore

func LoadKeyStore() (*keystore.KeyStore, accounts.Account)

func LoadWeb3

func LoadWeb3(ks *keystore.KeyStore, acc *accounts.Account) *eth.EthService

func MustRead

func MustRead(c *cli.Context) error

Types

type Config

type Config struct {
	Server struct {
		ServiceApi string
		AdminApi   string
	}
	Web3 struct {
		Url string
	}
	KeyStore struct {
		Path        string
		Address     string
		Password    string
		KeyJsonPath string
	}
	Contracts struct {
		SampleContract       string
		DisableIdContract    string
		Mimc7Contract        string
		RootCommitsContract  string
		WhitelistContract    string
		FullVerifierContract string
	}
	Ids struct {
		Certifier string
		Storer    string
	}
}
var C Config

Jump to

Keyboard shortcuts

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