dto

package
v0.0.0-...-39aed00 Latest Latest
Warning

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

Go to latest
Published: Nov 9, 2022 License: MIT Imports: 0 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type CreateShortUrlReq

type CreateShortUrlReq struct {
	Url string `json:"url"`
}

type CreateShortUrlRes

type CreateShortUrlRes struct {
	SUrl string
	LUrl string
	Exp  string
	Msg  string
}

type GetUrlReq

type GetUrlReq struct {
	SUrl string `json:"short_url"`
}

type GetUrlRes

type GetUrlRes struct {
	LUrl string
}

type LandingPageData

type LandingPageData struct {
	Domain string
}

type SummaryPageData

type SummaryPageData struct {
	Domain string `json:"domain"`
	SUrl   string `json:"short_url"`
	LUrl   string `json:"long_url"`
	Exp    string `json:"expiration"`
	Msg    string `json:"msg"`
}

Jump to

Keyboard shortcuts

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