controller

package
v1.1.7 Latest Latest
Warning

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

Go to latest
Published: Aug 31, 2025 License: Apache-2.0 Imports: 43 Imported by: 0

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 DatabaseRequest added in v1.0.7

type DatabaseRequest struct {
	Type     string `json:"type"`
	Host     string `json:"host"`
	Port     string `json:"port"`
	Database string `json:"database"`
	Username string `json:"username"`
	Password string `json:"password"`
}

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) 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