Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type GWAccountDB ¶
type GWSessionKeyDB ¶ added in v1.0.0
type GWSessionKeyDB struct { PrivateKey []byte `json:"privateKey"` Account GWAccountDB `json:"account"` }
GWSessionKeyDB - an account key-pair registered for a user
type GWUserDB ¶
type GWUserDB struct { UserId []byte `json:"userId"` PrivateKey []byte `json:"privateKey"` Accounts []GWAccountDB `json:"accounts"` SessionKey *GWSessionKeyDB `json:"sessionKey"` ActiveSK bool `json:"activeSK"` }
Click to show internal directories.
Click to hide internal directories.