Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type NegotiateMessage ¶
type NegotiateMessage struct {
ntlm.NegotiateMessage
}
NegotiateMessage defines an NTLM Negotiate message that is sent from the client to the server. This message allows the client to specify its supported NTLM options to the server.
func NewNegotiateMessage ¶
func NewNegotiateMessage(domain, workstation string) *NegotiateMessage
NewNegotiateMessage creates a new NegotiateMessage for the NTLMv2 protocol. The domain and workstation names, if non-empty, are included into a message to let the server to determine whether the client is eligible for local authentication.
func (*NegotiateMessage) Bytes ¶
func (n *NegotiateMessage) Bytes() []byte
Bytes converts the NegotiateMessage structure into a slice of bytes.
func (*NegotiateMessage) String ¶
func (n *NegotiateMessage) String() string
type Transport ¶
type Transport struct { Username string Password string HTTPClient *http.Client Endpoint *winrm.Endpoint }
Transport implements the winrm.Transporter interface.
func (*Transport) EndpointURL ¶
EndpointURL returns a WinRM http(s) URL. It does the same job as unexported method url() for the winrm.Endpoint type.