Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type City1 ¶
type City1 struct { Id int16 `gorm:"primary_key:true;column:ct_id" json:"id"` Name string `gorm:"column:ct_name" json:"name"` PostCode string `gorm:"column:ct_post_code" json:"post_code"` ProvinceId int16 `gorm:"primary_key:true;column:pv_id" json:"province.id"` ProvinceName string `gorm:"column:pv_name" json:"province.name"` }
City represents the data of city1 in RDB
type City2 ¶
type City2 struct { Id int16 `gorm:"primary_key:true;column:ct_id" json:"id"` Name string `gorm:"column:ct_name" json:"name"` PostCode string `gorm:"column:ct_post_code" json:"post_code"` }
City represents the data of city1 in RDB
type CityOfPingtaskView ¶
type CityOfPingtaskView struct { Id int `gorm:"primary_key:true;column:ct_id" json:"id"` Name string `gorm:"column:ct_name" json:"name"` }
CCityOfPingtaskViewity represents the data of city in the PingtaskView
func (CityOfPingtaskView) TableName ¶
func (CityOfPingtaskView) TableName() string
type GroupTag ¶
type GroupTag struct { Id int32 `gorm:"primary_key:true;column:gt_id" json:"id" db:"gt_id"` Name string `gorm:"column:gt_name" json:"name" db:"gt_name"` }
type GroupTagOfPingtaskView ¶
type GroupTagOfPingtaskView struct { Id int `gorm:"primary_key:true;column:gt_id" json:"id" db:"gt_id"` Name string `gorm:"column:gt_name" json:"name" db:"gt_name"` }
func (GroupTagOfPingtaskView) TableName ¶
func (GroupTagOfPingtaskView) TableName() string
type Isp ¶
type Isp struct { Id int16 `gorm:"primary_key:true;column:isp_id" json:"id"` Name string `gorm:"column:isp_name" json:"name"` Acronym string `gorm:"column:isp_acronym" json:"acronym"` }
Isp represents data of ISP in RDB
type IspOfPingtaskView ¶
type IspOfPingtaskView struct { Id int `gorm:"primary_key:true;column:isp_id" json:"id"` Name string `gorm:"column:isp_name" json:"name"` }
Isp represents data of ISP in RDB
func (IspOfPingtaskView) TableName ¶
func (IspOfPingtaskView) TableName() string
type NameTagOfPingtaskView ¶
type NameTagOfPingtaskView struct { Id int `json:"id" db:"nt_id"` Value string `json:"value" db:"nt_value"` }
func (NameTagOfPingtaskView) TableName ¶
func (NameTagOfPingtaskView) TableName() string
type Province ¶
type Province struct { Id int16 `gorm:"primary_key:true;column:pv_id" json:"id"` Name string `gorm:"column:pv_name" json:"name"` }
Province represents the data of province in RDB
type ProvinceOfPingtaskView ¶
type ProvinceOfPingtaskView struct { Id int `gorm:"primary_key:true;column:pv_id" json:"id"` Name string `gorm:"column:pv_name" json:"name"` }
Province represents the data of province in RDB
func (ProvinceOfPingtaskView) TableName ¶
func (ProvinceOfPingtaskView) TableName() string
type Query ¶
type Query struct { Uuid db.DbUuid `db:"qr_uuid"` NamedId string `db:"qr_named_id"` Content []byte `db:"qr_content"` Md5Content db.Bytes16 `db:"qr_md5_content"` CreationTime time.Time `db:"qr_time_creation"` AccessTime time.Time `db:"qr_time_access"` }
Represents the query object
func (*Query) ToJsonOfQueryId ¶
Click to show internal directories.
Click to hide internal directories.