Documentation ¶
Index ¶
Constants ¶
View Source
const ( ENTITY = "%s:%s" RELATION = "#%s" )
View Source
const (
ELLIPSIS = "..."
)
View Source
const (
SEPARATOR = "."
)
View Source
const (
USER = "user"
)
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type EntityAndRelation ¶
EntityAndRelation -
type ISubjectIterator ¶
type Subject ¶
type Subject struct { Type string `json:"type"` ID string `json:"id"` Relation Relation `json:"relation,omitempty"` }
Subject -
type SubjectIterator ¶
type SubjectIterator struct {
// contains filtered or unexported fields
}
SubjectIterator -
func NewSubjectIterator ¶
func NewSubjectIterator(subjects []*Subject) *SubjectIterator
Click to show internal directories.
Click to hide internal directories.