mirror of
https://github.com/mickael-kerjean/filestash.git
synced 2026-10-20 08:16:40 +00:00
15 lines
423 B
Go
15 lines
423 B
Go
package core
|
|
|
|
type Share struct {
|
|
Id string `json:"id"`
|
|
Backend string `json:"-"`
|
|
Auth string `json:"auth,omitempty"`
|
|
Path string `json:"path"`
|
|
Password *string `json:"password,omitempty"`
|
|
Users *string `json:"users,omitempty"`
|
|
Expire *int64 `json:"expire,omitempty"`
|
|
CanRead bool `json:"can_read"`
|
|
CanWrite bool `json:"can_write"`
|
|
CanUpload bool `json:"can_upload"`
|
|
}
|