duckduckgo

package module
v0.0.0-...-43314f0 Latest Latest
Warning

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

Go to latest
Published: Nov 17, 2017 License: MIT Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ImageResult

type ImageResult struct {
	Url string
}

type ImageType

type ImageType string
const (
	ImageType_Any         ImageType = ""
	ImageType_Animated    ImageType = "type:photo-animatedgif"
	ImageType_Photo       ImageType = "type:photo-photo"
	ImageType_Clipart     ImageType = "type:photo-clipart"
	ImageType_Transparent ImageType = "type:photo-transparent"
)

type Session

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

func (*Session) Images

func (sess *Session) Images(query string, safe bool,
	typ ImageType, offset uint) ([]ImageResult, error)

func (*Session) Init

func (sess *Session) Init() error

func (*Session) IsInitialized

func (sess *Session) IsInitialized() bool

func (*Session) Videos

func (sess *Session) Videos(query string, offset uint) ([]VideoResult, error)

func (*Session) Web

func (sess *Session) Web(query string, offset uint) ([]WebResult, error)

type VideoResult

type VideoResult struct {
	Id string
}

type WebResult

type WebResult struct {
	Url string
}

Jump to

Keyboard shortcuts

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