repository

package
v0.4.1 Latest Latest
Warning

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

Go to latest
Published: Nov 29, 2023 License: Apache-2.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 ObjectRepository

type ObjectRepository interface {
	Find(id arch.ObjIdentifier) arch.Object
	GetObjects(ids []arch.ObjIdentifier) ([]arch.Object, error)
	All() []arch.ObjIdentifier
	Insert(obj arch.Object) error
	Walk(walker func(obj arch.Object) error)
}

type RelationRepository

type RelationRepository interface {
	Insert(rel arch.Relation) error
	Walk(walker func(rel arch.Relation) error)
}

Jump to

Keyboard shortcuts

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