Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ErrNotFound = errors.New("file not found")
Functions ¶
This section is empty.
Types ¶
type ScriptCompiler ¶
type ScriptCompiler interface {
CompileScript(name, source string) (ScriptExecuter, error)
}
type ScriptExecuter ¶
type ScriptExecuter interface { HasRequestFn() bool RequestFn(c context.Context, vars map[string]interface{}, role string, userID interface{}, gfn GraphQLFn) map[string]interface{} HasResponseFn() bool ReponseFn(c context.Context, vars map[string]interface{}, role string, userID interface{}, gfn GraphQLFn) map[string]interface{} }
type ValidationCompiler ¶
type ValidationCompiler interface {
CompileValidation(source string) (ValidationExecuter, error)
}
type ValidationExecuter ¶
Click to show internal directories.
Click to hide internal directories.