Versions in this module Expand all Collapse all v0 v0.20.1 Mar 31, 2022 Changes in this version + const NoVal + const ValLimit + var ErrInvalidKey = errors.New("cedar: invalid key") + var ErrInvalidVal = errors.New("cedar: invalid val") + var ErrNoKey = errors.New("cedar: not have key") + var ErrNoVal = errors.New("cedar: not have val") + type Block struct + type Cedar struct + Reduced bool + func New(reduced ...bool) *Cedar + func (cd *Cedar) Delete(key []byte) error + func (cd *Cedar) ExactMatch(key []byte) (int32, bool) + func (cd *Cedar) Find(key []byte, from int32) (int32, error) + func (cd *Cedar) Get(key []byte) (value int32, err error) + func (cd *Cedar) Insert(key []byte, val int32) error + func (cd *Cedar) Jump(key []byte, from int32) (to int32, err error) + func (cd *Cedar) PrefixMatch(key []byte, n ...int) (ids []int32) + func (cd *Cedar) PrefixPredict(key []byte, n ...int) (ids []int32) + func (cd *Cedar) Update(key []byte, value int32) error + func (cd *Cedar) Value(path int32) (val int32, err error) + type NInfo struct + type Node struct