Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Config ¶
type Config interface {
WithAMQP(opts ...Option) Config
AMQPAddress() string
AMQPConfig() (*framework.AMQPConfig, error)
WithMasterLockKey(opts ...Option) Config
MasterLockKey() string
WithDatastore(opts ...Option) Config
DataStore() (*framework.DatastoreConfig, error)
WithLedgerStore(opts ...Option) Config
LedgerStore() (*framework.LedgerStoreConfig, error)
WithVDRI(opts ...Option) Config
VDRIs() ([]map[string]interface{}, error)
GetString(s string) string
GetInt(s string) int
Endpoint(s string) (*framework.Endpoint, error)
WithLedgerGenesis(opts ...Option) Config
LedgerGenesis() string
WithIndyRegistry(opts ...Option) Config
IndyRegistry() string
}
Config
type ViperConfigProvider ¶
type ViperConfigProvider struct {
DefaultConfigName string
}
func (*ViperConfigProvider) Load ¶
func (r *ViperConfigProvider) Load(file string) Config
Click to show internal directories.
Click to hide internal directories.