controller

package
v1.0.3 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jul 20, 2025 License: Apache-2.0 Imports: 46 Imported by: 1 module, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CaptureInternalServerError

func CaptureInternalServerError(err error, scopes map[string]interface{}) error

func GetAuthController

func GetAuthController(cfg *models.Config, commonFn *resolver.GraphQLServer) *authCtrl

func GetFieldByType

func GetFieldByType(name string, inputType string, fieldType string, validation *models.Validation, argType string, update bool) interface{}

Types

type GraphCtrl

type GraphCtrl struct {
	// contains filtered or unexported fields
}

func GetGraphQLController

func GetGraphQLController(cfg *models.Config, commonFn *resolver.GraphQLServer) *GraphCtrl

func (*GraphCtrl) FunctionExecute

func (g *GraphCtrl) FunctionExecute(c echo.Context) error

func (*GraphCtrl) GetGraphQLAggregateField

func (g *GraphCtrl) GetGraphQLAggregateField(name string, field *models.FieldInfo, update bool) *graphql.Field

func (*GraphCtrl) GetGraphQLArgumentObjectField

func (g *GraphCtrl) GetGraphQLArgumentObjectField(name string, field *models.FieldInfo, update bool) *graphql.InputObjectFieldConfig

func (*GraphCtrl) GetGraphQLField

func (g *GraphCtrl) GetGraphQLField(name string, field *models.FieldInfo, update bool) *graphql.Field

func (*GraphCtrl) GetSystemCacheInfo

func (g *GraphCtrl) GetSystemCacheInfo(i echo.Context) error

func (*GraphCtrl) PluginUpload

func (g *GraphCtrl) PluginUpload(router echo.Context) error

func (*GraphCtrl) PublicGraphQL

func (g *GraphCtrl) PublicGraphQL(i echo.Context) error

func (*GraphCtrl) RESTApiDocGenerator

func (g *GraphCtrl) RESTApiDocGenerator(c echo.Context) error

func (*GraphCtrl) RestToGraphQL

func (g *GraphCtrl) RestToGraphQL(c echo.Context) error

func (*GraphCtrl) SingleFileUpload

func (g *GraphCtrl) SingleFileUpload(c echo.Context) error

func (*GraphCtrl) SubscriptionWrapHandler

func (g *GraphCtrl) SubscriptionWrapHandler(c echo.Context) error

func (*GraphCtrl) SystemGraphQL

func (g *GraphCtrl) SystemGraphQL(i echo.Context) error

type ModelWithFilter

type ModelWithFilter struct {
	Model             *models.ModelType
	Filter            *models.FilteredModel
	HasMetaQuery      bool
	IsDataloaderModel bool
	KnownAs           string
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL