Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Link ¶
type Location ¶
type Location struct { IpFrom int `json:"-"` IpTo int `json:"-"` CountryCode string `json:"-"` CountryName string `json:"country"` RegionName string `json:"-"` CityName string `json:"city"` Latitude float64 `json:"-"` Longitude float64 `json:"-"` ZipCode string `json:"-"` TimeZone string `json:"-"` }
type View ¶
type View struct { ID uint `gorm:"primary_key" json:"-"` CreatedAt time.Time `json:"createdAt"` UpdatedAt time.Time `json:"-"` DeletedAt *time.Time `sql:"index" json:"-"` LinkID uint `json:"-"` UserAgent string `json:"userAgent"` Referer string `json:"referer"` Country string `json:"country"` City string `json:"city"` ZipCode string `json:"zipCode"` }
Click to show internal directories.
Click to hide internal directories.