Documentation ¶
Index ¶
- Variables
- func BaseURLMiddleware(next http.Handler) http.Handler
- func ConfigCheckMiddleware(next http.Handler) http.Handler
- func GalleryCtx(next http.Handler) http.Handler
- func GetLatestVersion(shortHash bool) (latestVersion string, latestRelease string, err error)
- func GetVersion() (string, string, string)
- func PerformerCtx(next http.Handler) http.Handler
- func SceneCtx(next http.Handler) http.Handler
- func Start()
- func StudioCtx(next http.Handler) http.Handler
- type Resolver
- func (r *Resolver) Gallery() models.GalleryResolver
- func (r *Resolver) Mutation() models.MutationResolver
- func (r *Resolver) Performer() models.PerformerResolver
- func (r *Resolver) Query() models.QueryResolver
- func (r *Resolver) Scene() models.SceneResolver
- func (r *Resolver) SceneMarker() models.SceneMarkerResolver
- func (r *Resolver) Studio() models.StudioResolver
- func (r *Resolver) Subscription() models.SubscriptionResolver
- func (r *Resolver) Tag() models.TagResolver
Constants ¶
This section is empty.
Variables ¶
View Source
var (
BaseURLCtxKey = &contextKey{"BaseURL"}
)
Functions ¶
func GetLatestVersion ¶
GetLatestVersion gets latest version (git commit hash) 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.
func GetVersion ¶
Types ¶
type Resolver ¶
type Resolver struct{}
func (*Resolver) Gallery ¶
func (r *Resolver) Gallery() models.GalleryResolver
func (*Resolver) Mutation ¶
func (r *Resolver) Mutation() models.MutationResolver
func (*Resolver) Performer ¶
func (r *Resolver) Performer() models.PerformerResolver
func (*Resolver) Query ¶
func (r *Resolver) Query() models.QueryResolver
func (*Resolver) Scene ¶
func (r *Resolver) Scene() models.SceneResolver
func (*Resolver) SceneMarker ¶
func (r *Resolver) SceneMarker() models.SceneMarkerResolver
func (*Resolver) Studio ¶
func (r *Resolver) Studio() models.StudioResolver
func (*Resolver) Subscription ¶
func (r *Resolver) Subscription() models.SubscriptionResolver
func (*Resolver) Tag ¶
func (r *Resolver) Tag() models.TagResolver
Source Files ¶
- check_version.go
- context_keys.go
- images.go
- resolver.go
- resolver_model_gallery.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_performer.go
- resolver_mutation_scene.go
- resolver_mutation_studio.go
- resolver_mutation_tag.go
- resolver_query_configuration.go
- resolver_query_find_gallery.go
- resolver_query_find_performer.go
- resolver_query_find_scene.go
- resolver_query_find_scene_marker.go
- resolver_query_find_studio.go
- resolver_query_find_tag.go
- resolver_query_logs.go
- resolver_query_metadata.go
- resolver_query_scraper.go
- resolver_subscription_logging.go
- resolver_subscription_metadata.go
- routes_gallery.go
- routes_performer.go
- routes_scene.go
- routes_studio.go
- server.go
- types.go
Click to show internal directories.
Click to hide internal directories.