render_obj

package
v0.0.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 11, 2023 License: BSD-3-Clause Imports: 0 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AccessLog

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

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

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"`
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL