Documentation ¶
Index ¶
- Variables
- func BaseURLMiddleware(next http.Handler) http.Handler
- func GetVersion() (string, string, string)
- func IsDevelop() bool
- func SecurityHeadersMiddleware(next http.Handler) http.Handler
- func Start() error
- type CaptionFinder
- type GallerySceneGetter
- type GallerySceneUpdater
- type ImageFinder
- type LatestRelease
- type MovieFinder
- type PerformerFinder
- type Resolver
- func (r *Resolver) Gallery() GalleryResolver
- func (r *Resolver) GalleryChapter() GalleryChapterResolver
- func (r *Resolver) Image() ImageResolver
- func (r *Resolver) Movie() MovieResolver
- func (r *Resolver) Mutation() MutationResolver
- func (r *Resolver) Performer() PerformerResolver
- func (r *Resolver) Query() QueryResolver
- func (r *Resolver) Scene() SceneResolver
- func (r *Resolver) SceneMarker() SceneMarkerResolver
- func (r *Resolver) Studio() StudioResolver
- func (r *Resolver) Subscription() SubscriptionResolver
- func (r *Resolver) Tag() TagResolver
- type SceneFinder
- type SceneMarkerFinder
- type StudioFinder
- type TagFinder
Constants ¶
This section is empty.
Variables ¶
View Source
var ( // ErrNotImplemented is an error which means the given functionality isn't implemented by the API. ErrNotImplemented = errors.New("not implemented") // ErrNotSupported is returned whenever there's a test, which can be used to guard against the error, // but the given parameters aren't supported by the system. ErrNotSupported = errors.New("not supported") // ErrInput signifies errors where the input isn't valid for some reason. And no more specific error exists. ErrInput = errors.New("input error") )
View Source
var (
BaseURLCtxKey = &contextKey{"BaseURL"}
)
View Source
var ErrOverriddenConfig = errors.New("cannot set overridden value")
Functions ¶
func GetVersion ¶
Types ¶
type CaptionFinder ¶ added in v0.17.0
type GallerySceneGetter ¶ added in v0.17.0
type GallerySceneUpdater ¶ added in v0.17.0
type ImageFinder ¶ added in v0.17.0
type LatestRelease ¶ added in v0.19.0
func GetLatestRelease ¶ added in v0.19.0
func GetLatestRelease(ctx context.Context) (*LatestRelease, error)
GetLatestRelease gets latest release information from github API If running a build from the "master" branch, then the latest full release is used, otherwise it uses the release that is tagged with "latest_develop" which is the latest pre-release build.
type MovieFinder ¶ added in v0.17.0
type PerformerFinder ¶ added in v0.17.0
type Resolver ¶
type Resolver struct {
// contains filtered or unexported fields
}
func (*Resolver) GalleryChapter ¶ added in v0.20.0
func (r *Resolver) GalleryChapter() GalleryChapterResolver
func (*Resolver) SceneMarker ¶
func (r *Resolver) SceneMarker() SceneMarkerResolver
func (*Resolver) Subscription ¶
func (r *Resolver) Subscription() SubscriptionResolver
type SceneFinder ¶ added in v0.17.0
type SceneMarkerFinder ¶ added in v0.17.0
type StudioFinder ¶ added in v0.17.0
Source Files ¶
- authentication.go
- changeset_translator.go
- check_version.go
- context_keys.go
- dir_list.go
- error.go
- images.go
- locale.go
- resolver.go
- resolver_model_gallery.go
- resolver_model_gallery_chapter.go
- resolver_model_image.go
- resolver_model_movie.go
- resolver_model_performer.go
- resolver_model_scene.go
- resolver_model_scene_marker.go
- resolver_model_studio.go
- resolver_model_tag.go
- resolver_mutation_configure.go
- resolver_mutation_dlna.go
- resolver_mutation_file.go
- resolver_mutation_gallery.go
- resolver_mutation_image.go
- resolver_mutation_job.go
- resolver_mutation_metadata.go
- resolver_mutation_migrate.go
- resolver_mutation_movie.go
- resolver_mutation_performer.go
- resolver_mutation_plugin.go
- resolver_mutation_saved_filter.go
- resolver_mutation_scene.go
- resolver_mutation_scraper.go
- resolver_mutation_stash_box.go
- resolver_mutation_studio.go
- resolver_mutation_tag.go
- resolver_query_configuration.go
- resolver_query_dlna.go
- resolver_query_find_gallery.go
- resolver_query_find_image.go
- resolver_query_find_movie.go
- resolver_query_find_performer.go
- resolver_query_find_saved_filter.go
- resolver_query_find_scene.go
- resolver_query_find_scene_marker.go
- resolver_query_find_studio.go
- resolver_query_find_tag.go
- resolver_query_job.go
- resolver_query_logs.go
- resolver_query_metadata.go
- resolver_query_plugin.go
- resolver_query_scene.go
- resolver_query_scraper.go
- resolver_subscription_job.go
- resolver_subscription_logging.go
- routes_custom.go
- routes_downloads.go
- routes_image.go
- routes_movie.go
- routes_performer.go
- routes_scene.go
- routes_studio.go
- routes_tag.go
- scraped_content.go
- server.go
- session.go
- types.go
Click to show internal directories.
Click to hide internal directories.