Upstream sync
This commit is contained in:
@@ -5,6 +5,7 @@ type Config struct {
|
||||
Service Service
|
||||
AdminService Service
|
||||
Database Database
|
||||
Blockchain Blockchain
|
||||
}
|
||||
|
||||
// Service contains configuration for service
|
||||
@@ -15,6 +16,14 @@ type Service struct {
|
||||
BlockchainSecret string
|
||||
}
|
||||
|
||||
// Blockchain contains configuration for blockchain
|
||||
type Blockchain struct {
|
||||
NetworkEndpoint string
|
||||
ContractAddress string
|
||||
WalletAddress string
|
||||
WalletPrivateKey string
|
||||
}
|
||||
|
||||
// Database configuration
|
||||
type Database struct {
|
||||
UserName string
|
||||
|
||||
Reference in New Issue
Block a user