Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Checker ¶
type Checker struct {
// contains filtered or unexported fields
}
func NewCheck ¶
func NewCheck(m *model.Model, req *dsr.CheckRequest, reader RelationReader, pool *mempool.RelationsPool) *Checker
type MessagePool ¶
type MessagePool[T any] interface { Get() T Put(message T) }
type ObjectSearch ¶
type ObjectSearch struct {
// contains filtered or unexported fields
}
func NewObjectSearch ¶
func NewObjectSearch(m *model.Model, req *dsr.GetGraphRequest, reader RelationReader, pool *mempool.RelationsPool) (*ObjectSearch, error)
func (*ObjectSearch) Search ¶
func (s *ObjectSearch) Search() (*dsr.GetGraphResponse, error)
type RelationPool ¶
type RelationPool = MessagePool[*dsc.RelationIdentifier]
type RelationReader ¶
type RelationReader func(*dsc.RelationIdentifier, RelationPool, *Relations) error
RelationReader retrieves relations that match the given filter.
type Relations ¶
type Relations = []*dsc.RelationIdentifier
type SubjectSearch ¶
type SubjectSearch struct {
// contains filtered or unexported fields
}
func NewSubjectSearch ¶
func NewSubjectSearch( m *model.Model, req *dsr.GetGraphRequest, reader RelationReader, pool *mempool.RelationsPool, ) (*SubjectSearch, error)
func (*SubjectSearch) Search ¶
func (s *SubjectSearch) Search() (*dsr.GetGraphResponse, error)
Click to show internal directories.
Click to hide internal directories.