Documentation ¶
Index ¶
- type Client
- func (c *Client) Close() error
- func (c *Client) Debug(msg string, err error)
- func (c *Client) GetConn() net.Conn
- func (c *Client) GetMessageId() uint64
- func (c *Client) GetOptions() *ClientOptions
- func (c *Client) GetSecurityMode() uint16
- func (c *Client) GetSessionId() uint64
- func (c *Client) GetTrees() map[string]uint32
- func (c *Client) SMBSend(req interface{}) (res []byte, err error)
- func (c *Client) TCPSend(req interface{}) (res []byte, err error)
- func (c *Client) WithConn(conn net.Conn) *Client
- func (c *Client) WithDebug(debug bool) *Client
- func (c *Client) WithDialect(dialect uint16) *Client
- func (c *Client) WithOptions(clientOptions *ClientOptions) *Client
- func (c *Client) WithSecurityMode(securityMode uint16) *Client
- func (c *Client) WithSessionId(sessionId uint64) *Client
- func (c *Client) WithTrees(trees map[string]uint32) *Client
- type ClientOptions
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Client ¶
type Client struct { IsSigningRequired bool IsAuthenticated bool // contains filtered or unexported fields }
会话结构
func (*Client) GetMessageId ¶
func (*Client) GetOptions ¶
func (c *Client) GetOptions() *ClientOptions
func (*Client) GetSecurityMode ¶
func (*Client) GetSessionId ¶
func (*Client) WithDialect ¶
func (*Client) WithOptions ¶
func (c *Client) WithOptions(clientOptions *ClientOptions) *Client
func (*Client) WithSecurityMode ¶
func (*Client) WithSessionId ¶
Click to show internal directories.
Click to hide internal directories.