filters

package
v0.0.0-alpha5 Latest Latest
Warning

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

Go to latest
Published: Sep 29, 2022 License: AGPL-3.0 Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type EntityFilter

type EntityFilter struct {
	Type string `json:"type"`
	ID   string `json:"id"`
}

EntityFilter -

func (EntityFilter) Validate

func (r EntityFilter) Validate() (err error)

Validate -

type RelationTupleFilter

type RelationTupleFilter struct {
	Entity   EntityFilter  `json:"entity"`
	Relation string        `json:"relation"`
	Subject  SubjectFilter `json:"subject"`
}

RelationTupleFilter -

func (RelationTupleFilter) Validate

func (r RelationTupleFilter) Validate() (err error)

Validate -

type SubjectFilter

type SubjectFilter struct {
	Type     string `json:"type"`
	ID       string `json:"id"`
	Relation string `json:"relation"`
}

SubjectFilter -

func (SubjectFilter) Validate

func (r SubjectFilter) Validate() (err error)

Validate -

Jump to

Keyboard shortcuts

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