Documentation ¶
Index ¶
Constants ¶
View Source
const ErrNotActive = "An instance of a named pipe cannot be found in the listening state"
Variables ¶
This section is empty.
Functions ¶
func NewDialer ¶
func NewDialer(opts ...DialerOption) *smb2.Dialer
Types ¶
type DialerOption ¶
type DialerOption func(*smb2.Dialer)
DialerOption is a function that configures a SMB2/3 Dialer.
func WithDialect ¶
func WithDialect(dialect Dialect) DialerOption
WithDialect returns a DialerOption that configures a SMB2/3 Dialer to use the specified dialect.
func WithSeal ¶
func WithSeal() DialerOption
WithSeal returns a DialerOption that configures a SMB2/3 Dialer to use message encryption whenever possible.
func WithSecurity ¶
func WithSecurity(opts ...gssapi.ContextOption) DialerOption
WithSecurity returns a DialerOption that configures a SMB2/3 Dialer to use the specified GSSAPI security context.
func WithSign ¶
func WithSign() DialerOption
WithSign returns a DialerOption that configures a SMB2/3 Dialer to require message signing.
type Initiator ¶
type Initiator struct {
// contains filtered or unexported fields
}
func SecurtiyContextInitiator ¶
func SecurtiyContextInitiator(opts ...gssapi.ContextOption) *Initiator
func (*Initiator) InitSecContext ¶
func (*Initiator) OID ¶
func (i *Initiator) OID() asn1.ObjectIdentifier
func (*Initiator) SessionKey ¶
Click to show internal directories.
Click to hide internal directories.