2020-04-08 11:24:06 +00:00
|
|
|
package form
|
|
|
|
|
2020-06-22 13:16:26 +00:00
|
|
|
// Link represents a link sharing form.
|
2020-06-16 10:51:46 +00:00
|
|
|
type Link struct {
|
2020-06-28 12:52:26 +00:00
|
|
|
Password string `json:"Password"`
|
|
|
|
ShareSlug string `json:"Slug"`
|
|
|
|
LinkToken string `json:"Token"`
|
|
|
|
LinkExpires int `json:"Expires"`
|
|
|
|
MaxViews uint `json:"MaxViews"`
|
|
|
|
CanComment bool `json:"CanComment"`
|
|
|
|
CanEdit bool `json:"CanEdit"`
|
2020-04-08 11:24:06 +00:00
|
|
|
}
|