urlbuilders

package
v0.13.1 Latest Latest
Warning

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

Go to latest
Published: Mar 15, 2022 License: AGPL-3.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type GalleryURLBuilder

type GalleryURLBuilder struct {
	BaseURL   string
	GalleryID string
}

func NewGalleryURLBuilder

func NewGalleryURLBuilder(baseURL string, galleryID int) GalleryURLBuilder

func (GalleryURLBuilder) GetGalleryImageURL

func (b GalleryURLBuilder) GetGalleryImageURL(fileIndex int) string

type ImageURLBuilder added in v0.4.0

type ImageURLBuilder struct {
	BaseURL   string
	ImageID   string
	UpdatedAt string
}

func NewImageURLBuilder added in v0.4.0

func NewImageURLBuilder(baseURL string, image *models.Image) ImageURLBuilder

func (ImageURLBuilder) GetImageURL added in v0.4.0

func (b ImageURLBuilder) GetImageURL() string

func (ImageURLBuilder) GetThumbnailURL added in v0.4.0

func (b ImageURLBuilder) GetThumbnailURL() string

type MovieURLBuilder added in v0.2.0

type MovieURLBuilder struct {
	BaseURL   string
	MovieID   string
	UpdatedAt string
}

func NewMovieURLBuilder added in v0.2.0

func NewMovieURLBuilder(baseURL string, movie *models.Movie) MovieURLBuilder

func (MovieURLBuilder) GetMovieBackImageURL added in v0.2.0

func (b MovieURLBuilder) GetMovieBackImageURL() string

func (MovieURLBuilder) GetMovieFrontImageURL added in v0.2.0

func (b MovieURLBuilder) GetMovieFrontImageURL() string

type PerformerURLBuilder

type PerformerURLBuilder struct {
	BaseURL     string
	PerformerID string
	UpdatedAt   string
}

func NewPerformerURLBuilder

func NewPerformerURLBuilder(baseURL string, performer *models.Performer) PerformerURLBuilder

func (PerformerURLBuilder) GetPerformerImageURL

func (b PerformerURLBuilder) GetPerformerImageURL() string

type SceneURLBuilder

type SceneURLBuilder struct {
	BaseURL string
	SceneID string
	APIKey  string
}

func NewSceneURLBuilder

func NewSceneURLBuilder(baseURL string, sceneID int) SceneURLBuilder

func (SceneURLBuilder) GetChaptersVTTURL

func (b SceneURLBuilder) GetChaptersVTTURL() string

func (SceneURLBuilder) GetFunscriptURL added in v0.8.0

func (b SceneURLBuilder) GetFunscriptURL() string

func (SceneURLBuilder) GetInteractiveHeatmapURL added in v0.12.0

func (b SceneURLBuilder) GetInteractiveHeatmapURL() string

func (SceneURLBuilder) GetSceneMarkerStreamPreviewURL

func (b SceneURLBuilder) GetSceneMarkerStreamPreviewURL(sceneMarkerID int) string

func (SceneURLBuilder) GetSceneMarkerStreamScreenshotURL added in v0.10.0

func (b SceneURLBuilder) GetSceneMarkerStreamScreenshotURL(sceneMarkerID int) string

func (SceneURLBuilder) GetSceneMarkerStreamURL

func (b SceneURLBuilder) GetSceneMarkerStreamURL(sceneMarkerID int) string

func (SceneURLBuilder) GetScreenshotURL

func (b SceneURLBuilder) GetScreenshotURL(updateTime time.Time) string

func (SceneURLBuilder) GetSpriteURL added in v0.7.0

func (b SceneURLBuilder) GetSpriteURL() string

func (SceneURLBuilder) GetSpriteVTTURL

func (b SceneURLBuilder) GetSpriteVTTURL() string

func (SceneURLBuilder) GetStreamPreviewImageURL

func (b SceneURLBuilder) GetStreamPreviewImageURL() string

func (SceneURLBuilder) GetStreamPreviewURL

func (b SceneURLBuilder) GetStreamPreviewURL() string

func (SceneURLBuilder) GetStreamURL

func (b SceneURLBuilder) GetStreamURL() string

type StudioURLBuilder

type StudioURLBuilder struct {
	BaseURL   string
	StudioID  string
	UpdatedAt string
}

func NewStudioURLBuilder

func NewStudioURLBuilder(baseURL string, studio *models.Studio) StudioURLBuilder

func (StudioURLBuilder) GetStudioImageURL

func (b StudioURLBuilder) GetStudioImageURL() string

type TagURLBuilder added in v0.3.0

type TagURLBuilder struct {
	BaseURL   string
	TagID     string
	UpdatedAt string
}

func NewTagURLBuilder added in v0.3.0

func NewTagURLBuilder(baseURL string, tag *models.Tag) TagURLBuilder

func (TagURLBuilder) GetTagImageURL added in v0.3.0

func (b TagURLBuilder) GetTagImageURL() string

Jump to

Keyboard shortcuts

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