Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type HttpRequestUrl ¶
type HttpResponseStatsUrl ¶
type HttpResponseUrl ¶
type HttpResponseUrl struct {
Shortcode string `json:"shortcode"`
}
type Url ¶
type Url struct { OriginUrl string `gorm:"type:varchar(200);" json:"url"` ShortCode string `gorm:"primaryKey;type:varchar(6);json:"shortcode"` RedirectCount int64 `gorm:""DEFAULT:0;type:int(20)"" json:"redirect_count"` CreatedAt time.Time `gorm:""DEFAULT:current_timestamp; type:timestamp"" json:"created_at"` UpdatedAt time.Time `gorm:""DEFAULT:current_timestamp;type:timestamp"" json:"updated_at"` LastSeenAt time.Time `gorm:""type:timestamp"" json:"last_seen_at"` }
Click to show internal directories.
Click to hide internal directories.