feat: add main command feat: add todos feat: add signup api feat: do not repeat code fix: user return feat: work out static box fix: setup static handlers feat: add share types License: MIT Signed-off-by: Henrique Dias <hacdias@gmail.com> feat: start static License: MIT Signed-off-by: Henrique Dias <hacdias@gmail.com> feat: bring back more features License: MIT Signed-off-by: Henrique Dias <hacdias@gmail.com> add feat: readd more files License: MIT Signed-off-by: Henrique Dias <hacdias@gmail.com> feat: add dockerignore License: MIT Signed-off-by: Henrique Dias <hacdias@gmail.com> feat: gitignore License: MIT Signed-off-by: Henrique Dias <hacdias@gmail.com> feat: readd submodule License: MIT Signed-off-by: Henrique Dias <hacdias@gmail.com>
12 lines
306 B
Go
12 lines
306 B
Go
package types
|
|
|
|
import "time"
|
|
|
|
// ShareLink is the information needed to build a shareable link.
|
|
type ShareLink struct {
|
|
Hash string `json:"hash" storm:"id,index"`
|
|
Path string `json:"path" storm:"index"`
|
|
Expires bool `json:"expires"`
|
|
ExpireDate time.Time `json:"expireDate"`
|
|
}
|