Source File
smb2.go
Belonging Package
github.com/hirochachacha/go-smb2
// Package smb2 implements the SMB2/3 client in [MS-SMB2].
//
// https://msdn.microsoft.com/en-us/library/cc246482.aspx
//
// This package doesn't support CAP_UNIX extension.
// Symlink is supported by FSCTL_SET_REPARSE_POINT and FSCTL_GET_REPARSE_POINT.
// The symlink-following algorithm is explained in 2.2.2.2.1 and 2.2.2.2.1.1.
//
// https://msdn.microsoft.com/en-us/library/cc246542.aspx
//
// Supported features and protocol versions are declared in feature.go.
package smb2
import (
)
var debug = os.Getenv("DEBUG") != ""
var zero [16]byte
var be = binary.BigEndian
var logger *log.Logger
func init() {
if debug {
logger = log.New(os.Stderr, "smb2: ", log.LstdFlags)
} else {
logger = log.New(ioutil.Discard, "smb2: ", log.LstdFlags)
}
}
![]() |
The pages are generated with Golds v0.6.7. (GOOS=linux GOARCH=amd64) Golds is a Go 101 project developed by Tapir Liu. PR and bug reports are welcome and can be submitted to the issue list. Please follow @Go100and1 (reachable from the left QR code) to get the latest news of Golds. |