web

package
v1.2.0 Latest Latest
Warning

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

Go to latest
Published: Mar 28, 2017 License: MIT Imports: 7 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetImageBinary

func GetImageBinary(c *content.Content) ([]byte, error)

Types

type Client

type Client struct {
	Http WebClient
}

type RealWebClient

type RealWebClient struct {
}

func (*RealWebClient) Get

func (r *RealWebClient) Get(url string) ([]byte, error)

type WebClient

type WebClient interface {
	Get(string) ([]byte, error)
}

Jump to

Keyboard shortcuts

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