restore

package
v0.1.2 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jun 18, 2021 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Client

type Client struct {
	// contains filtered or unexported fields
}

func NewRestoreClient

func NewRestoreClient(client *teedy.Client, directory string) *Client

func (*Client) Documents

func (c *Client) Documents() (*Status, error)

func (*Client) Tags

func (c *Client) Tags() error

func (*Client) ViewDocumentFiles

func (c *Client) ViewDocumentFiles(documentId string) ([]*yos.FilePathInfo, error)

ViewDocumentFiles returns any attachments for a specific document

func (*Client) ViewDocuments

func (c *Client) ViewDocuments() ([]*teedy.Document, error)

func (*Client) ViewTags

func (c *Client) ViewTags() ([]*teedy.Tag, error)

type DocumentRestoreStatus

type DocumentRestoreStatus struct {
	Title string
	Id    string
	OldId string
}

type Status

type Status struct {
	Documents []*DocumentRestoreStatus
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL