types

package
v0.0.0-...-45d8196 Latest Latest
Warning

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

Go to latest
Published: Jun 18, 2020 License: AGPL-3.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 Asset

type Asset struct {
	// URI is the unique identifier for the asset
	URI string `json:"uri,omitempty"`
	// URL is the assets real url
	URL string `json:"url" binding:"required"`
	// Owner identifies who the asset belongs to
	Owner string `json:"owner,omitempty"`
	// SecretID allows admin access to this asset
	SecretID string `json:"secret_id,omitempty"`
	// Source indicates where the link originated from
	Source string `json:"source,omitempty"`
	// Client app the asset belongs to
	Client string `json:"client,omitempty"`
	// Affiliate references any affiliation
	Affiliate string `json:"affiliate,omitempty"`
	// Tags holds a comma separated list of tags
	Tags string `json:"tags,omitempty"`
}

Asset is the basic entity used in the shortener

Jump to

Keyboard shortcuts

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