snapshot

package
v0.0.18 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Dec 16, 2024 License: MIT Imports: 4 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func FromPb

func New

func New() data.Snapshot

Types

type Wrapper

type Wrapper struct {
	// contains filtered or unexported fields
}

func (*Wrapper) AppendEntity

func (w *Wrapper) AppendEntity(e data.Entity)

func (*Wrapper) AppendField

func (w *Wrapper) AppendField(f data.Field)

func (*Wrapper) AppendSchema

func (w *Wrapper) AppendSchema(s data.EntitySchema)

func (*Wrapper) GetEntities

func (w *Wrapper) GetEntities() []data.Entity

func (*Wrapper) GetFields

func (w *Wrapper) GetFields() []data.Field

func (*Wrapper) GetSchemas

func (w *Wrapper) GetSchemas() []data.EntitySchema

func (*Wrapper) SetEntities

func (w *Wrapper) SetEntities(entities []data.Entity)

func (*Wrapper) SetFields

func (w *Wrapper) SetFields(fields []data.Field)

func (*Wrapper) SetSchemas

func (w *Wrapper) SetSchemas(schemas []data.EntitySchema)

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL