Documentation ¶ Index ¶ func RedirectToLink(ctx *gin.Context) type Link type MessageFromIdService Constants ¶ This section is empty. Variables ¶ This section is empty. Functions ¶ func RedirectToLink ¶ func RedirectToLink(ctx *gin.Context) Types ¶ type Link ¶ type Link struct { ID int `json:"id"` ShortURL string `json:"short_url"` OriginalURL string `json:"original_url"` CreatedAt time.Time `json:"created_at"` AccessCount int `json:"access_count"` } type MessageFromIdService ¶ type MessageFromIdService struct { ID string `json:"id"` } Source Files ¶ View all Source files handler.gomodel.go Click to show internal directories. Click to hide internal directories.