digest

package
v0.0.0-...-2ff6a3e Latest Latest
Warning

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

Go to latest
Published: Jun 10, 2020 License: Apache-2.0 Imports: 14 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewClient

func NewClient(skipTLSVerify bool, timeout time.Duration) (ret *http.Client)

Types

type Request

type Request struct {
	Body        string
	Method      string
	Password    string
	Uri         string
	Username    string
	Auth        *authorization
	Wa          *wwwAuthenticate
	ContentType string
}

func NewRequest

func NewRequest(username string, password string, method string, uri string, body string) Request

func (*Request) Close

func (dr *Request) Close()

func (*Request) Execute

func (dr *Request) Execute(client *http.Client) (resp *http.Response, err error)

func (*Request) UpdateRequest

func (dr *Request) UpdateRequest(username string,
	password string, method string, uri string, body string) *Request

Jump to

Keyboard shortcuts

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