common

package
v0.0.0-...-6a8a835 Latest Latest
Warning

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

Go to latest
Published: Sep 24, 2022 License: GPL-3.0 Imports: 10 Imported by: 0

Documentation

Index

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
}

Client struct

func (*Client) Debug

func (c *Client) Debug(msg string, err error)

func (*Client) GetConn

func (c *Client) GetConn() net.Conn

func (*Client) GetMessageId

func (c *Client) GetMessageId() uint64

func (*Client) GetOptions

func (c *Client) GetOptions() *ClientOptions

func (*Client) GetSecurityMode

func (c *Client) GetSecurityMode() uint16

func (*Client) GetSessionId

func (c *Client) GetSessionId() uint64

func (*Client) GetTrees

func (c *Client) GetTrees() map[string]uint32

func (*Client) Send

func (c *Client) Send(req interface{}) (res []byte, err error)

func (*Client) WithConn

func (c *Client) WithConn(conn net.Conn) *Client

func (*Client) WithDebug

func (c *Client) WithDebug(debug bool) *Client

func (*Client) WithDialect

func (c *Client) WithDialect(dialect uint16) *Client

func (*Client) WithOptions

func (c *Client) WithOptions(clientOptions *ClientOptions) *Client

func (*Client) WithSecurityMode

func (c *Client) WithSecurityMode(securityMode uint16) *Client

func (*Client) WithSessionId

func (c *Client) WithSessionId(sessionId uint64) *Client

func (*Client) WithTrees

func (c *Client) WithTrees(trees map[string]uint32) *Client

type ClientOptions

type ClientOptions struct {
	Host        string
	Port        int
	Workstation string
	Domain      string
	User        string
	Password    string
	Hash        string
}

ClientOptions struct

Jump to

Keyboard shortcuts

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