gimquery

package
v0.0.2 Latest Latest
Warning

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

Go to latest
Published: Oct 25, 2021 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CreateGimModule

func CreateGimModule(config GimModuleConfig) *gim.Module

Types

type CreateModuleConfig

type CreateModuleConfig struct {
	Input interface{}
	OperationConfig
}

type DeleteModuleConfig

type DeleteModuleConfig struct {
	OperationModuleConfig
}

type GimModuleConfig

type GimModuleConfig struct {
	gim.Module
	Assembler    core.Assembler
	QueryService core.QueryService
	Endpoint     string
	Entity       interface{}
	Output       interface{}
	Read         OperationModuleConfig
	Create       CreateModuleConfig
	Update       UpdateModuleConfig
	Delete       DeleteModuleConfig
}

type OperationConfig

type OperationConfig struct {
	Disabled bool
	gim.Module
}

type OperationModuleConfig

type OperationModuleConfig struct {
	Disabled bool
	gim.Module
	Many OperationConfig
	One  OperationConfig
}

type UpdateModuleConfig

type UpdateModuleConfig struct {
	Input interface{}
	OperationModuleConfig
}

Jump to

Keyboard shortcuts

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