web

package
v1.3.1 Latest Latest
Warning

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

Go to latest
Published: May 23, 2019 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) (io.Reader, error)

Types

type Client

type Client struct {
	Http WebClient
}

type RealWebClient

type RealWebClient struct {
}

func (*RealWebClient) Get

func (r *RealWebClient) Get(url string) (io.Reader, error)

type WebClient

type WebClient interface {
	Get(string) (io.Reader, error)
}

Jump to

Keyboard shortcuts

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