entity

package
v0.0.0-...-d91dd4b Latest Latest
Warning

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

Go to latest
Published: Jun 24, 2023 License: Apache-2.0 Imports: 0 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type URL

type URL struct {
	Key         string `json:"key" redis:"key"`
	OriginalURL string `json:"original_url" redis:"original_url"`
	// TODO: the type of Expires can be time.Time
	Expires int64 `json:"expires" redis:"expires"`
	Visits  int   `json:"visits" redis:"visits"`
}

Jump to

Keyboard shortcuts

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