signable

package
v0.0.3 Latest Latest
Warning

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

Go to latest
Published: Feb 19, 2015 License: Apache-2.0, BSD-2-Clause, BSD-3-Clause, + 1 more Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type HttpRequest

type HttpRequest struct{ *http.Request }

func (HttpRequest) GetHeader

func (hr HttpRequest) GetHeader(name string) ([]string, bool)

func (HttpRequest) GetHost

func (hr HttpRequest) GetHost() string

func (HttpRequest) ReqBody

func (hr HttpRequest) ReqBody() io.Reader

func (HttpRequest) ReqMethod

func (hr HttpRequest) ReqMethod() string

func (HttpRequest) ReqURL

func (hr HttpRequest) ReqURL() *url.URL

func (HttpRequest) SetHeader

func (hr HttpRequest) SetHeader(name, value string)

func (HttpRequest) SetReqBody

func (hr HttpRequest) SetReqBody(r io.ReadCloser)

type Signable

type Signable interface {
	GetHost() string
	GetHeader(string) ([]string, bool)
	SetHeader(string, string)
	ReqURL() *url.URL
	ReqBody() io.Reader
	SetReqBody(io.ReadCloser)
	ReqMethod() string
}

Jump to

Keyboard shortcuts

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