Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type User ¶
type User struct {
ID schema.ID `bson:"_id" json:"id"`
Name string `bson:"name" json:"name"`
Email string `bson:"email" json:"email"`
Pubkey string `bson:"pubkey" json:"pubkey"`
Host string `bson:"host" json:"host"`
Description string `bson:"description" json:"description"`
WalletAddresses []WalletAddress `bson:"wallet_addresses" json:"wallet_addresses"`
Signature string `bson:"-" json:"signature,omitempty"`
// Trusted Sales channel
// is a special flag that is only set by TF, if set this user can
// - sponsors pools
// - get special discount
IsTrustedChannel bool `bson:"trusted_sales_channel" json:"trusted_sales_channel"`
}
type WalletAddress ¶ added in v0.6.0
Click to show internal directories.
Click to hide internal directories.