mirror of
https://github.com/stashapp/stash.git
synced 2025-12-18 04:44:37 +03:00
* Use vendor code for all go calls * Add missing vendor dependencies * Add travis_retry to yarn install * Fix go test call
21 lines
349 B
Go
21 lines
349 B
Go
// plugin package interfaces are EXPERIMENTAL.
|
|
|
|
package plugin
|
|
|
|
import (
|
|
"github.com/99designs/gqlgen/codegen"
|
|
"github.com/99designs/gqlgen/codegen/config"
|
|
)
|
|
|
|
type Plugin interface {
|
|
Name() string
|
|
}
|
|
|
|
type ConfigMutator interface {
|
|
MutateConfig(cfg *config.Config) error
|
|
}
|
|
|
|
type CodeGenerator interface {
|
|
GenerateCode(cfg *codegen.Data) error
|
|
}
|