smb

package
v0.0.14 Latest Latest
Warning

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

Go to latest
Published: Aug 27, 2022 License: MIT Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type SMB

type SMB struct {
	Host     string
	Port     int
	Username *string
	Password *string
	Share    *string
	Key      string
	Client   *SMBClient
}

func (*SMB) Cleanup

func (d *SMB) Cleanup() error

func (*SMB) Init

func (d *SMB) Init() error

func (*SMB) LoadEnv

func (d *SMB) LoadEnv(prefix string) error

func (*SMB) LoadFlags

func (d *SMB) LoadFlags() error

func (*SMB) Push

func (d *SMB) Push(r io.Reader) error

type SMBClient

type SMBClient struct {
	Client *smb2.Session
	Conn   net.Conn
	Share  *smb2.Share
}

Jump to

Keyboard shortcuts

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