fpl

package
v0.1.7-cachejson-hotfix-2 Latest Latest
Warning

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

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

Documentation

Index

Constants

View Source
const (
	MAX_ACK_WAIT_MS = 60 * 1000
)

Variables

This section is empty.

Functions

func FoliageProcessingLanguage

func FoliageProcessingLanguage(_ sfPlugins.StatefunExecutor, ctx *sfPlugins.StatefunContextProcessor)
{
	"jpgql_uoi": [ // Union of intersections
		[
			{"jpgql": "<jpgql query 1>", "from_uuid": "<vertex uuid x>"},
			{"jpgql": "<jpgql query 2>", "from_uuid": "<vertex uuid y>"},
			...
		],
		[
			{"jpgql": "<jpgql query 1>", "from_uuid": "<vertex uuid x>"},
			{"jpgql": "<jpgql query 2>", "from_uuid": "<vertex uuid y>"},
			...
		],
		...
	],
	"sort": "asc"|"dsc",
	"post_processor_func": { // Arbitrary
		name: "<statefun name>",
		data: {
			....
		}
	}
}

func PostProcessorVertexBody

func PostProcessorVertexBody(_ sfPlugins.StatefunExecutor, ctx *sfPlugins.StatefunContextProcessor)
{
	"uuids": [...],
	"data": {
		"sort_by_field": [
			"<field name 1>[:asc|:dsc]",
			"<field name 2>[:asc|:dsc]",
			...
		]
	}
}

func RegisterAllFunctionTypes

func RegisterAllFunctionTypes(runtime *statefun.Runtime)

Types

type JPGQLRequestData

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

Jump to

Keyboard shortcuts

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