mirror of
https://github.com/arnaucube/blockchainIDsystem.git
synced 2026-02-07 19:16:43 +01:00
added serverIDsigner. At this moment performs: signup, login, blindsign
This commit is contained in:
@@ -7,17 +7,12 @@ import (
|
||||
|
||||
//Config reads the config
|
||||
type Config struct {
|
||||
IP string `json:"ip"`
|
||||
Port string `json:"port"`
|
||||
ServerIP string `json:"serverip"`
|
||||
ServerPort string `json:"serverport"`
|
||||
ServerRESTPort string `json:"serverrestport"`
|
||||
WebServerPort string `json:"webserverport"`
|
||||
Mongodb MongoConfig `json:"mongodb"`
|
||||
}
|
||||
type MongoConfig struct {
|
||||
IP string `json:"ip"`
|
||||
Database string `json:"database"`
|
||||
IP string `json:"ip"`
|
||||
Port string `json:"port"`
|
||||
ServerIP string `json:"serverip"`
|
||||
ServerPort string `json:"serverport"`
|
||||
ServerRESTPort string `json:"serverrestport"`
|
||||
WebServerPort string `json:"webserverport"`
|
||||
}
|
||||
|
||||
var config Config
|
||||
|
||||
Reference in New Issue
Block a user