models

package
v0.2.1 Latest Latest
Warning

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

Go to latest
Published: Dec 4, 2024 License: MIT Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type DeviceURLData added in v0.2.1

type DeviceURLData struct {
	URL       string    `json:"url"`
	Platform  string    `json:"platform"`
	CreatedAt time.Time `json:"created_at"`
}

type URLData

type URLData struct {
	URL        string                   `json:"url"`
	Title      string                   `json:"title,omitempty"`
	ShortCode  string                   `json:"short_code"`
	CreatedAt  time.Time                `json:"created_at"`
	ExpiresAt  *time.Time               `json:"expires_at"`
	DeviceURLs map[string]DeviceURLData `json:"device_urls,omitempty"`
}

Jump to

Keyboard shortcuts

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