controller

package
v1.2210.0-pre2 Latest Latest
Warning

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

Go to latest
Published: Oct 21, 2022 License: MPL-2.0 Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func RedirectCookie

func RedirectCookie(c echo.Context) error

Types

type MutationResolverImpl

type MutationResolverImpl struct {
	*resolver.MutationResolverImpl
	Ctx  echo.Context
	Next Next
}

func (*MutationResolverImpl) AsyncSQLExecuteQuery

func (r *MutationResolverImpl) AsyncSQLExecuteQuery(ctx context.Context, connectionID string, contextID string, sql string, resultID *string, filter *model.SQLDataFilter, dataFormat *model.ResultDataFormat) (*model.AsyncTaskInfo, error)

type Next

type Next func(c echo.Context) ([]byte, error)

type QueryResolverImpl

type QueryResolverImpl struct {
	*resolver.QueryResolverImpl
	Ctx  echo.Context
	Next Next
}

func (*QueryResolverImpl) ActiveUser

func (r *QueryResolverImpl) ActiveUser(ctx context.Context) (*model.UserInfo, error)

ActiveUser is the resolver for the activeUser field.

func (*QueryResolverImpl) AuthLogin

func (r *QueryResolverImpl) AuthLogin(ctx context.Context, provider string, configuration *string, credentials interface{}, linkUser *bool) (*model.AuthInfo, error)

AuthLogin is the resolver for the authLogin field.

type ResolverImpl

type ResolverImpl struct {
	*resolver.Resolver
	Ctx  echo.Context
	Next Next
}

func (*ResolverImpl) Mutation

func (r *ResolverImpl) Mutation() resolver.MutationResolver

func (*ResolverImpl) Query

func (r *ResolverImpl) Query() resolver.QueryResolver

Query returns generated.QueryResolver implementation.

Jump to

Keyboard shortcuts

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