steeljelly

package
v0.0.0-...-f260408 Latest Latest
Warning

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

Go to latest
Published: Feb 6, 2021 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Client

type Client interface {
	GetThumbnailURLs(siteType SiteType, videoURL string) ([]string, error)
}

func NewClient

func NewClient(opts ...ClientOptions) Client

NewClient returns a new Client.

type ClientOptions

type ClientOptions func(*options)

func WithPornhubClient

func WithPornhubClient(client pornhub.Client) ClientOptions

WithPornhubClient sets Pornhub client as ClientOptions.

type SiteType

type SiteType int
const (
	SiteTypePornhub SiteType = iota + 1
)

Directories

Path Synopsis
Package pornhub is a generated GoMock package.
Package pornhub is a generated GoMock package.

Jump to

Keyboard shortcuts

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