github.com/vchain-us/vcn@v0.9.11-0.20210921212052-a2484d23c0b3/pkg/store/v2_config.go (about)

     1  package store
     2  
     3  // User holds user's configuration.
     4  type UserV2 struct {
     5  	Email    string `json:"email"`
     6  	Token    string `json:"token,omitempty"`
     7  	KeyStore string `json:"keystore,omitempty"`
     8  }
     9  
    10  // ConfigRoot holds root fields of the configuration file.
    11  type ConfigRootV2 struct {
    12  	SchemaVersion  uint      `json:"schemaVersion"`
    13  	Users          []*UserV2 `json:"users"`
    14  	CurrentContext string    `json:"currentContext"`
    15  }