Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type DeviceToken ¶
type DeviceToken struct { ID string `bson:"_id"` UserId string `bson:"user_id"` Token string `bson:"token"` OsName string `bson:"os_name"` CreatedAt time.Time `bson:"created_at"` UpdatedAt time.Time `bson:"updated_at"` }
func (DeviceToken) TableName ¶
func (DeviceToken) TableName() string
type Notification ¶
type Notification struct { ID string `bson:"_id"` UserId string `bson:"user_id"` Type string `bson:"type"` Data string `bson:"data"` CreatedAt time.Time `bson:"created_at"` UpdatedAt time.Time `bson:"updated_at"` }
func (Notification) TableName ¶
func (Notification) TableName() string
type NotificationMeta ¶
type NotificationMeta struct { Data []*Notification `bson:"data,omitempty"` Page int `json:"page,omitempty"` PerPage int `json:"per_page,omitempty"` Total int `json:"total,omitempty"` }
Click to show internal directories.
Click to hide internal directories.