Documentation
¶
Overview ¶
templ: version: v0.2.747
templ: version: v0.2.747
templ: version: v0.2.747
templ: version: v0.2.747
Index ¶
- func Index(uploadURL, listViewURL string) templ.Component
- func ListData(attr *ListAttribute) templ.Component
- func Login(loginAPI, registerPageURL string) templ.Component
- func Register(registerURL string) templ.Component
- func ShareFileResponse(shareFileURL, validUntil string) templ.Component
- func Upload(uploadURL string) templ.Component
- type ListAttribute
- func (la *ListAttribute) DeleteURL(filename string) string
- func (la *ListAttribute) DownloadURL(filename string) string
- func (la *ListAttribute) LastObject() (bool, blob.ObjectInfo)
- func (la *ListAttribute) Length() int
- func (la *ListAttribute) NextListView() string
- func (la *ListAttribute) ShareFileURL(filename string) string
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ListData ¶
func ListData(attr *ListAttribute) templ.Component
func ShareFileResponse ¶
Types ¶
type ListAttribute ¶
type ListAttribute struct { Objects []blob.ObjectInfo //download DownloadAPI string DeleteAPI string //list object ListView string ShareFileAPI string }
func (*ListAttribute) DeleteURL ¶
func (la *ListAttribute) DeleteURL(filename string) string
func (*ListAttribute) DownloadURL ¶
func (la *ListAttribute) DownloadURL(filename string) string
func (*ListAttribute) LastObject ¶
func (la *ListAttribute) LastObject() (bool, blob.ObjectInfo)
func (*ListAttribute) Length ¶
func (la *ListAttribute) Length() int
func (*ListAttribute) NextListView ¶
func (la *ListAttribute) NextListView() string
func (*ListAttribute) ShareFileURL ¶
func (la *ListAttribute) ShareFileURL(filename string) string
Click to show internal directories.
Click to hide internal directories.