package
Version:
v1.1.2
Opens a new window with list of versions in this module.
Published: May 16, 2020
License: MIT
Opens a new window with license information.
Imports: 1
Opens a new window with list of imports.
Imported by: 4
Opens a new window with list of known importers.
Documentation
¶
type Subscription struct {
SubscriptionId uint `gorm:"primary_key:true"`
UpdatedAt time.Time
Data []SubscriptionData `gorm:"foreignkey:SubscriptionId"`
}
type SubscriptionData struct {
ID uint `gorm:"primary_key;"`
SubscriptionId uint `gorm:"primary_key; column:subscription_id; auto_increment:false"`
Coin uint `gorm:"primary_key; column:coin; auto_increment:false"`
Address string `gorm:"primary_key; column:address; type:varchar(128)"`
}
type Tracker struct {
Coin string `gorm:"primary_key:true; type:varchar(64)"`
Height int64
}
Source Files
¶
Click to show internal directories.
Click to hide internal directories.