endpoint

package
Version: v0.7.0 Latest Latest
Warning

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

Go to latest
Published: Dec 22, 2014 License: Apache-2.0, Apache-2.0 Imports: 3 Imported by: 0

Documentation

Overview

Endpoints - final destination of the http request

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Endpoint

type Endpoint interface {
	GetId() string
	GetUrl() *url.URL
	String() string
}

type HttpEndpoint

type HttpEndpoint struct {
	// contains filtered or unexported fields
}

func MustParseUrl

func MustParseUrl(in string) *HttpEndpoint

func NewHttpEndpoint

func NewHttpEndpoint(in *url.URL) (*HttpEndpoint, error)

func ParseUrl

func ParseUrl(in string) (*HttpEndpoint, error)

func (*HttpEndpoint) GetId

func (e *HttpEndpoint) GetId() string

func (*HttpEndpoint) GetUrl

func (e *HttpEndpoint) GetUrl() *url.URL

func (*HttpEndpoint) String

func (e *HttpEndpoint) String() string

Source Files

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
t or T : Toggle theme light dark auto
y or Y : Canonical URL