models

package
v0.0.0-...-f02d5ee Latest Latest
Warning

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

Go to latest
Published: Oct 24, 2022 License: MIT Imports: 0 Imported by: 2

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type File

type File struct {
	Password            string `` /* 130-byte string literal not displayed */
	PasswordProvided    bool   `redis:"provided,omitempty"`
	PasswordProvidedKey string `redis:"provided_key,omitempty"`
	Token               []byte `redis:"token,omitempty"`
	TTL                 int    `json:"ttl,omitempty" xml:"ttl,omitempty" form:"ttl,omitempty" query:"ttl,omitempty" redis:"ttl,omitempty"`
	Views               int    `json:"views,omitempty" xml:"views,omitempty" form:"views,omitempty" query:"views,omitempty" redis:"views,omitempty"`
	ViewsCount          int    `redis:"views_count,omitempty"`
	Deletable           bool   `` /* 135-byte string literal not displayed */
	FileKey             string `json:"file_key,omitempty" xml:"file_key,omitempty" form:"file_key,omitempty" query:"password_key,omitempty"`
	Link                string `json:"link,omitempty" xml:"link,omitempty" form:"link,omitempty" query:"link,omitempty"`
	LinkApi             string `json:"link_api,omitempty" xml:"link_api,omitempty" form:"link_api,omitempty" query:"link_api,omitempty"`
}

type Password

type Password struct {
	Password    string `` /* 130-byte string literal not displayed */
	Token       []byte `json:"token,omitempty" xml:"token,omitempty" form:"token,omitempty" query:"token,omitempty" redis:"token,omitempty"`
	TTL         int    `json:"ttl,omitempty" xml:"ttl,omitempty" form:"ttl,omitempty" query:"ttl,omitempty" redis:"ttl,omitempty"`
	Views       int    `json:"views,omitempty" xml:"views,omitempty" form:"views,omitempty" query:"views,omitempty" redis:"views,omitempty"`
	ViewsCount  int    `` /* 145-byte string literal not displayed */
	Deletable   bool   `` /* 135-byte string literal not displayed */
	PasswordKey string `json:"password_key,omitempty" xml:"password_key,omitempty" form:"password_key,omitempty" query:"password_key,omitempty"`
	Link        string `json:"link,omitempty" xml:"link,omitempty" form:"link,omitempty" query:"link,omitempty"`
	LinkApi     string `json:"link_api,omitempty" xml:"link_api,omitempty" form:"link_api,omitempty" query:"link_api,omitempty"`
}

Jump to

Keyboard shortcuts

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