Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type UpstreamConnection ¶
type UpstreamConnection struct {
// contains filtered or unexported fields
}
func NewUpstreamConnection ¶
func NewUpstreamConnection(headers map[string]string, proxy string, timeout int) *UpstreamConnection
func (*UpstreamConnection) Check ¶
func (u *UpstreamConnection) Check(method string, uri string) (string, contenttype.MediaType, error)
func (*UpstreamConnection) Get ¶
func (u *UpstreamConnection) Get(method, URI string) ([]byte, int, contenttype.MediaType, error)
Click to show internal directories.
Click to hide internal directories.