Versions in this module Expand all Collapse all v0 v0.2.0 Dec 31, 2024 Changes in this version + func EntryPoint(parent *cli.Command) + type Action int + const Action_cancel + const Action_data + const Action_end_data + const Action_file + const Action_finish + const Action_invalid + const Action_receive + const Action_send + const Action_status + type Compression int + const Compression_none + const Compression_zlib + type Compressor interface + Compress func(data []byte) []byte + Flush func() []byte + type File struct + func NewFile(opts *Options, local_path, expanded_local_path string, file_id int, ...) *File + type FileHash struct + type FileState int + const ACKNOWLEDGED + const FINISHED + const TRANSMITTING + const WAITING_FOR_DATA + const WAITING_FOR_START + type FileTransmissionCommand struct + Action Action + Bypass string + Compression Compression + Data []byte + File_id string + Ftype FileType + Id string + Mtime time.Duration + Name string + Parent string + Permissions fs.FileMode + Quiet QuietLevel + Size int64 + Status string + Ttype TransmissionType + func NewFileTransmissionCommand(serialized string) (ans *FileTransmissionCommand, err error) + func (self FileTransmissionCommand) Serialize(prefix_with_osc_code ...bool) string + func (self FileTransmissionCommand) String() string + type FileType int + const FileType_directory + const FileType_link + const FileType_regular + const FileType_symlink + func (self FileType) Color() string + func (self FileType) ShortText() string + type IdentityCompressor struct + func (self *IdentityCompressor) Compress(data []byte) []byte + func (self *IdentityCompressor) Flush() []byte + type Progress struct + type ProgressTracker struct + type QuietLevel int + const Quiet_acknowledgements + const Quiet_errors + const Quiet_none + type SendHandler struct + type SendManager struct + type SendState int + const SEND_CANCELED + const SEND_PERMISSION_DENIED + const SEND_PERMISSION_GRANTED + const SEND_WAITING_FOR_PERMISSION + type Serializable interface + MarshalJSON func() ([]byte, error) + String func() string + type Transfer struct + type TransmissionType int + const TransmissionType_rsync + const TransmissionType_simple + type Unserializable interface + SetString func(string) error + type ZlibCompressor struct + func NewZlibCompressor() *ZlibCompressor + func (self *ZlibCompressor) Compress(data []byte) []byte + func (self *ZlibCompressor) Flush() []byte