Documentation ¶
Index ¶
- type TransferSession
- func (ts *TransferSession) EncryptBytesToFile(fileName string, contents []byte) error
- func (ts *TransferSession) EncryptToFile(fileName string) (WriteCloserWithSize, error)
- func (ts *TransferSession) UpdateMetadata() error
- func (ts *TransferSession) WithFrameworkAndWebDirectory(frameworkName string, webDirectory string) error
- type WriteCloserWithSize
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type TransferSession ¶
type TransferSession struct { Identifier string Password string // Meta data to be written. Call UpdateMetadata() after changing this!! Meta *dto.Meta DumpAll bool // contains filtered or unexported fields }
func NewSession ¶
func (*TransferSession) EncryptBytesToFile ¶
func (ts *TransferSession) EncryptBytesToFile(fileName string, contents []byte) error
func (*TransferSession) EncryptToFile ¶
func (ts *TransferSession) EncryptToFile(fileName string) (WriteCloserWithSize, error)
func (*TransferSession) UpdateMetadata ¶
func (ts *TransferSession) UpdateMetadata() error
func (*TransferSession) WithFrameworkAndWebDirectory ¶
func (ts *TransferSession) WithFrameworkAndWebDirectory(frameworkName string, webDirectory string) error
type WriteCloserWithSize ¶
type WriteCloserWithSize interface { io.WriteCloser Size() uint64 }
Click to show internal directories.
Click to hide internal directories.