Documentation ¶
Index ¶
- func GetProgressBar(size int64, descr string, padding string) *progressbar.ProgressBar
- type SMBClient
- func (c *SMBClient) CheckPath(path string) error
- func (c *SMBClient) Connect() (err error)
- func (c *SMBClient) Disconnect()
- func (c *SMBClient) GetDirectory(remotePath string, localPath string, excludeExt []string) (map[string][]string, error)
- func (c *SMBClient) GetFile(remotePath string, localPath string, progBarPad int) error
- func (c *SMBClient) ListDir(remotePath string) ([]string, error)
- func (c *SMBClient) ReadFile(filePath string) (string, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetProgressBar ¶
Types ¶
type SMBClient ¶
type SMBClient struct {
// contains filtered or unexported fields
}
func NewSMBClient ¶
func (*SMBClient) Disconnect ¶
func (c *SMBClient) Disconnect()
func (*SMBClient) GetDirectory ¶
Click to show internal directories.
Click to hide internal directories.