mirror of
https://github.com/stashapp/stash.git
synced 2025-12-09 09:53:40 +01:00
* Refactor session and plugin code * Add context to job tasks * Show hooks in plugins page * Refactor session management
16 lines
257 B
Go
16 lines
257 B
Go
package api
|
|
|
|
// https://stackoverflow.com/questions/40891345/fix-should-not-use-basic-type-string-as-key-in-context-withvalue-golint
|
|
|
|
type key int
|
|
|
|
const (
|
|
galleryKey key = iota
|
|
performerKey
|
|
sceneKey
|
|
studioKey
|
|
movieKey
|
|
tagKey
|
|
downloadKey
|
|
imageKey
|
|
)
|