package
Version:
v0.0.1
Opens a new window with list of versions in this module.
Published: Oct 11, 2023
License: BSD-3-Clause
Opens a new window with license information.
Imports: 0
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
type AccessLog struct {
UrlId uint `json:"url_id"`
Referrer string `json:"referrer"`
UserIp string `json:"user_ip"`
CountryCode string `json:"country_code"`
CountryName string `json:"country_name"`
CountryEmoji string `json:"country_emoji"`
UserAgent string `json:"user_agent"`
AccessTime int64 `json:"access_time"`
OS string `json:"os"`
Browser string `json:"browser"`
Device string `json:"device"`
DeviceType string `json:"device_type"`
}
type URLObject struct {
Id uint `json:"id"`
LongURL string `json:"long_url"`
ShortCode string `json:"short_code"`
CreateTime int64 `json:"create_time"`
ExpireTime int64 `json:"expire_time"`
Enabled bool `json:"enabled"`
ClickCount int `json:"click_count"`
HrefLink string `json:"href_link"`
}
type URLObjectLite struct {
Id uint `json:"id"`
LongURL string `json:"long_url"`
ShortCode string `json:"short_code"`
ExpiredTime int64 `json:"expired_time"`
Enabled bool `json:"enabled"`
}
Source Files
¶
Click to show internal directories.
Click to hide internal directories.