Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ConnectionSucess chan bool
View Source
var DB *gorm.DB
Functions ¶
This section is empty.
Types ¶
type List ¶
type List struct { ID int `gorm:"AUTO_INCREMENT;PRIMARY_KEY;not null" json:"id"` BusinessType string `gorm:"unique;not null;" json:"business_type"` BusinessDesc string `json:"business_desc"` Interval uint64 `gorm:"DEFAULT:10000;" sql:"type:bigint;" json:"interval"` StartedAt uint64 `gorm:"DEFAULT:1;" sql:"type:bigint;" json:"started_at"` EndedAT uint64 `sql:"type:bigint;" json:"ended_at"` UpdatedAt time.Time CreatedAt time.Time Enable bool `gorm:"DEFAULT:1;" json:"enable"` }
func GetAllList ¶
func GetAllList() []*List
func GetAllListDisabled ¶
func GetAllListDisabled() []*List
func (*List) BusinessId ¶
Click to show internal directories.
Click to hide internal directories.