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