Documentation
¶
Index ¶
- func AuthHttpCtx() *transport.HttpClientCtx
- func DocumentsFileTree(http *transport.HttpClientCtx) *filetree.FileTreeCtx
- type ApiCtx
- func (ctx *ApiCtx) CreateDir(parentId, name string) (model.Document, error)
- func (ctx *ApiCtx) DeleteEntry(node *model.Node) error
- func (ctx *ApiCtx) FetchDocument(docId, dstPath string) error
- func (ctx *ApiCtx) MoveEntry(src, dstDir *model.Node, name string) (*model.Node, error)
- func (ctx *ApiCtx) UploadDocument(parent string, pdfpath string) (*model.Document, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AuthHttpCtx ¶
func AuthHttpCtx() *transport.HttpClientCtx
func DocumentsFileTree ¶
func DocumentsFileTree(http *transport.HttpClientCtx) *filetree.FileTreeCtx
Types ¶
type ApiCtx ¶
type ApiCtx struct {
Http *transport.HttpClientCtx
Filetree *filetree.FileTreeCtx
}
func CreateApiCtx ¶
func CreateApiCtx(http *transport.HttpClientCtx) *ApiCtx
func (*ApiCtx) FetchDocument ¶
Click to show internal directories.
Click to hide internal directories.