smb

package
v0.0.0-...-eb0c352 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 13, 2024 License: MIT Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type SmbClient

type SmbClient struct {
	// contains filtered or unexported fields
}

func NewClient

func NewClient(conf unit.ClientConfig) (*SmbClient, error)

func (SmbClient) Close

func (c SmbClient) Close() error

func (SmbClient) Description

func (c SmbClient) Description() map[string]any

func (SmbClient) Ls

func (c SmbClient) Ls(path string) ([]unit.File, error)

func (SmbClient) Read

func (c SmbClient) Read(path string) ([]byte, error)

func (SmbClient) Remove

func (c SmbClient) Remove(path string) error

func (SmbClient) Write

func (c SmbClient) Write(rd *bytes.Buffer, dst string) (string, error)

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL