httpntlm

package
v2.0.18+incompatible Latest Latest
Warning

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

Go to latest
Published: Apr 6, 2017 License: CC0-1.0, MIT Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type NtlmTransport

type NtlmTransport struct {
	Domain    string
	User      string
	Password  string
	NTHash    []byte
	Insecure  bool
	CookieJar *cookiejar.Jar
}

NtlmTransport is implementation of http.RoundTripper interface

func (NtlmTransport) RoundTrip

func (t NtlmTransport) RoundTrip(req *http.Request) (res *http.Response, err error)

RoundTrip method send http request and tries to perform NTLM authentication

Jump to

Keyboard shortcuts

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