Documentation
¶
Overview ¶
Package zmodemfiles 管理用户通过原生对话框授权的 ZMODEM 文件句柄。
Index ¶
- Constants
- type File
- type Store
- func (s *Store) Close(id string, complete bool) error
- func (s *Store) CloseSession(session string)
- func (s *Store) CreateDownload(session, grantID, name string, size int64) (File, error)
- func (s *Store) GrantDirectory(session, path string) (string, error)
- func (s *Store) OpenUploads(session string, paths []string) ([]File, error)
- func (s *Store) Read(id string) ([]byte, error)
- func (s *Store) Write(id string, data []byte) error
Constants ¶
View Source
const ChunkSize = 64 * 1024
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Store ¶
type Store struct {
// contains filtered or unexported fields
}
func (*Store) CloseSession ¶
func (*Store) CreateDownload ¶
func (*Store) OpenUploads ¶
Click to show internal directories.
Click to hide internal directories.