2020-04-08 13:24:06 +02:00
|
|
|
package form
|
|
|
|
|
2020-06-22 15:16:26 +02:00
|
|
|
// Link represents a link sharing form.
|
2020-06-16 12:51:46 +02:00
|
|
|
type Link struct {
|
2020-06-28 14:52:26 +02: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 13:24:06 +02:00
|
|
|
}
|