Documentation
¶
Index ¶
Constants ¶
View Source
const ( ReferralEventName = "referral-notification" ReferralTitleKey = "referral-notification" ReferralMessage = "referral message from user profile" )
Variables ¶
This section is empty.
Functions ¶
func PublishNewProfile ¶
func PublishNewProfile(refCode, userId string)
Types ¶
type Data ¶
type Data struct {
TitleKey string `json:"title_key,omitempty" bson:"title_key,omitempty"`
Code string `json:"code,omitempty" bson:"code,omitempty"`
UserId string `json:"user_id,omitempty" bson:"user_id,omitempty"`
Message string `json:"message,omitempty" bson:"message,omitempty"`
Symbol string `json:"symbol,omitempty" bson:"symbol,omitempty"`
Amount string `json:"amount,omitempty" bson:"amount,omitempty"`
Tx string `json:"tx,omitempty" bson:"tx,omitempty"`
}
type Event ¶
Click to show internal directories.
Click to hide internal directories.