shared

package
v0.0.2 Latest Latest
Warning

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

Go to latest
Published: Oct 27, 2022 License: AGPL-3.0 Imports: 14 Imported by: 0

Documentation

Overview

cSpell:ignore gonic, orgs, paulo, ferreira

cSpell:ignore goginrpf, gonic, paulo ferreira

cSpell:ignore goginrpf, gonic, paulo ferreira

cSpell:ignore goginrpf, gonic, paulo ferreira

cSpell:ignore goginrpf, gonic, paulo ferreira

cSpell:ignore goginrpf, gonic, paulo ferreira

cSpell:ignore goginrpf, gonic, paulo ferreira

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AddinRemapParameters

func AddinRemapParameters(g rpf.GINGroupProcessor, p_map map[string]string)

Common Addin : Maps Multiple Parameters to new names

func ExtractGINParameterBooleanValue

func ExtractGINParameterBooleanValue(r rpf.GINProcessor, c *gin.Context)

func ExtractGINParameterEmail

func ExtractGINParameterEmail(r rpf.GINProcessor, c *gin.Context)

func ExtractGINParameterGUID

func ExtractGINParameterGUID(r rpf.GINProcessor, c *gin.Context)

func ExtractGINParameterIntValue

func ExtractGINParameterIntValue(r rpf.GINProcessor, c *gin.Context)

func ExtractGINParameterUINTValue

func ExtractGINParameterUINTValue(r rpf.GINProcessor, c *gin.Context)

func ExtractQueryFilter

func ExtractQueryFilter(r rpf.GINProcessor, c *gin.Context)

ExtractQueryFilter See if Request Contains Filter Paramater

func ExtractQueryLimit

func ExtractQueryLimit(r rpf.GINProcessor, c *gin.Context)

RPFExtractQueryLimit See if Request Contains Limit Paramater

func ExtractQueryOffset

func ExtractQueryOffset(r rpf.GINProcessor, c *gin.Context)

RPFExtractQueryOffset See if Request Contains Offser Parameter

func ExtractQueryOrderBy

func ExtractQueryOrderBy(r rpf.GINProcessor, c *gin.Context)

RPFExtractQueryOrderBy See if Request Contains Order By Paramater

func GroupExtractQueryConditions

SINGLE/MULTI FIELD VALIDATION RPF HANDLERS //

func HelperAddinOptionsCallback

func HelperAddinOptionsCallback(c TAddinCallbackOptions, opt string, d interface{}) interface{}

func InitializeQueryConditions

func InitializeQueryConditions(r rpf.GINProcessor, c *gin.Context)

RPFCreateQueryOptions Generate Query Options (if any)

func JSONResponse

func JSONResponse(r rpf.GINProcessor, c *gin.Context)

func JSONStringify

func JSONStringify(r rpf.GINProcessor, c *gin.Context)

func RequestExtractJSON

func RequestExtractJSON(r rpf.GINProcessor, c *gin.Context)

Types

type ExportList

type ExportList struct {
	List        query.TQueryResults
	ValueMapper TMapListEntryORMtoExport
	FieldMapper TMapFieldNameORMToExternal
}

func (*ExportList) MarshalJSON

func (o *ExportList) MarshalJSON() ([]byte, error)

type TAddinCallbackOptions

type TAddinCallbackOptions func(string) interface{}

TYPE of Addin Optional Parameters Callback

type TFilterPostProcessor

type TFilterPostProcessor = func(n ast.Node) ast.Node

Map External Field Name to ORM Field Name

type TMapFieldNameORMToExternal

type TMapFieldNameORMToExternal = func(p string) string

Map ORM Field Name to External Name

type TMapListEntryORMtoExport

type TMapListEntryORMtoExport = func(interface{}) interface{}

Map ORM List Entry to Export List Entry

Jump to

Keyboard shortcuts

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