http

package
v0.8.0-pre.2 Latest Latest
Warning

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

Go to latest
Published: Nov 1, 2019 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func IsValidURL

func IsValidURL(uri string) bool

IsValidURL returns true if the url is a Parsable URL

Types

type Client

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

Client is client used to communicate with KUDO repositories it enriches HTTP client with expected headers etc.

func NewClient

func NewClient() *Client

NewClient creates HTTP client

func (*Client) Get

func (c *Client) Get(href string) (*bytes.Buffer, error)

Get performs HTTP get on KUDO repository

Jump to

Keyboard shortcuts

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