Documentation ¶
Index ¶
- func GetContent(node generic.NodeInterface) string
- func GetRef(node generic.NodeInterface) string
- func NewOptions(idAllocator IDAllocatorInterface) options.Interface
- func SetContent(node generic.NodeInterface, content string)
- func SetRef(node generic.NodeInterface, ref string)
- type Driver
- func (o *Driver) Delete(ctx context.Context)
- func (o *Driver) Equals(ctx context.Context, other generic.NodeInterface) bool
- func (o *Driver) FromFormat(f f3.Interface)
- func (o *Driver) Get(ctx context.Context) bool
- func (o *Driver) GetIDFromName(ctx context.Context, content string) generic.NodeID
- func (o *Driver) ListPage(ctx context.Context, page int) generic.ChildrenSlice
- func (o *Driver) NewFormat() f3.Interface
- func (o *Driver) Patch(ctx context.Context)
- func (o *Driver) Put(ctx context.Context) generic.NodeID
- func (o *Driver) String() string
- func (o *Driver) ToFormat() f3.Interface
- type FormatMemory
- type IDAllocatorInterface
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetContent ¶
func GetContent(node generic.NodeInterface) string
func GetRef ¶
func GetRef(node generic.NodeInterface) string
func NewOptions ¶
func NewOptions(idAllocator IDAllocatorInterface) options.Interface
func SetContent ¶
func SetContent(node generic.NodeInterface, content string)
func SetRef ¶
func SetRef(node generic.NodeInterface, ref string)
Types ¶
type Driver ¶
type Driver struct { generic.NullDriver // contains filtered or unexported fields }
func (*Driver) FromFormat ¶
func (*Driver) GetIDFromName ¶
type FormatMemory ¶
func NewFormat ¶
func NewFormat(id string) *FormatMemory
func (*FormatMemory) GetReferences ¶
func (o *FormatMemory) GetReferences() f3.References
type IDAllocatorInterface ¶
type IDAllocatorInterface interface {
// contains filtered or unexported methods
}
func NewIDAllocatorGenerator ¶
func NewIDAllocatorGenerator(prefix string) IDAllocatorInterface
func NewIDAllocatorNull ¶
func NewIDAllocatorNull() IDAllocatorInterface
Click to show internal directories.
Click to hide internal directories.