dto

package
v0.0.0-...-7c907d4 Latest Latest
Warning

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

Go to latest
Published: Oct 10, 2021 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 ShortURLReportDto

type ShortURLReportDto struct {
	// min: 1
	ID int64 `json:"id"`

	// unique: true
	LongURL string `json:"long_url" db:"long_url"`

	// unique: true
	Token string `json:"token"`

	Enabled bool `json:"enabled"`

	CreatedAt time.Time `json:"created_at" db:"created_at"`

	Visits int64 `json:"visits"`
}

ShortURLReportDto represents the short URL for this application with visiting statistics

swagger:model ShortURLReportDto

Jump to

Keyboard shortcuts

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