package
Version:
v0.0.31
Opens a new window with list of versions in this module.
Published: Mar 26, 2021
License: GPL-2.0, GPL-3.0
Opens a new window with license information.
Imports: 1
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
Session defines session's properties(of a registered user)
type URL struct {
Short string `json:"short"`
FullURL string `json:"full_url"`
CreationDate *time.Time `json:"creation_date"`
UserEmail string `json:"user_email"`
}
URL defines the properties of a certain URL
type URLData struct {
ShortURL string `json:"short_url"`
IP string `json:"ip"`
UserAgent string `json:"user_agent"`
VisitLocation string `json:"visit_location"`
VisitTime *time.Time `json:"visit_time"`
}
URLData defines the properties of URL's tracking data
type User struct {
Email string `json:"email"`
Avatar string `json:"avatar"`
CreationDate *time.Time `json:"creation_date"`
}
User defines the properties of a user
Source Files
¶
Click to show internal directories.
Click to hide internal directories.