Documentation ¶ Index ¶ type Content func Get(args []string) (Content, error) func (c *Content) Delete() error func (c *Content) Name() string Constants ¶ This section is empty. Variables ¶ This section is empty. Functions ¶ This section is empty. Types ¶ type Content ¶ type Content struct { Path string // Should the content be deleted from disk after transferring? This is true // only if the content has been zipped by qr-filetransfer ShouldBeDeleted bool } Content represents the content to be transferred func Get ¶ func Get(args []string) (Content, error) Get returns an instance of Content and an error func (*Content) Delete ¶ func (c *Content) Delete() error Delete the file from disk func (*Content) Name ¶ func (c *Content) Name() string Name returns the base name of the content being transferred Source Files ¶ View all Source files content.go Click to show internal directories. Click to hide internal directories.