Documentation ¶
Overview ¶
Package account has account struct type and datastore query functions.
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var (
ErrPutAccount = errors.New("error while putting account into the datastore")
)
Errors
Functions ¶
This section is empty.
Types ¶
type Account ¶
type Account struct { ID string `datastore:"-"` Name string `json:"name"` Type string `json:"type"` Addresses address.Addresses `datastore:"-" json:"addresses"` Status string `json:"status"` About string `json:"about"` Registered time.Time `json:"registered"` LastModified time.Time `json:"lastModified"` Score score.Score `datastore:"-" json:"score"` RankIDs []*datastore.Key `json:"rankIDs"` Ranks rank.Ranks `datastore:"-" json:"ranks"` BankAccounts []BankAccount `json:"bankAccount" valid:"bankAccount"` }
Account is the struct for register accounts. Hide name when sending. Type values are "individual" and "corporate".
type BankAccount ¶
type BankAccount struct {
IMEI string `json:"IMEI"`
}
BankAccount is the struct for store accounts bank account infos..
Click to show internal directories.
Click to hide internal directories.