bigstruct

package
v0.0.0-...-a09fd22 Latest Latest
Warning

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

Go to latest
Published: Apr 29, 2021 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Object

type Object struct {
	Index   *model.Index
	Overlay *model.Overlay
	Scopes  []Scope
}

func (*Object) Build

func (obj *Object) Build(ctx context.Context, s big.Struct, c big.Codec) (*Scope, error)

func (*Object) Encode

func (obj *Object) Encode(ctx context.Context, codec big.Codec) error

func (*Object) LoadSchema

func (obj *Object) LoadSchema(tx storage.Gorm, prefix string) error

func (*Object) LoadValue

func (obj *Object) LoadValue(tx storage.Gorm, prefix string) error

func (*Object) Overlays

func (obj *Object) Overlays() model.Overlays

func (*Object) Schemas

func (obj *Object) Schemas() model.Schemas

func (*Object) Struct

func (obj *Object) Struct() big.Struct

func (*Object) Values

func (obj *Object) Values() model.Values

type Scope

type Scope struct {
	Overlay *model.Overlay
	Schema  model.Schemas
	Value   model.Values
}

func NewScope

func NewScope(ov *model.Overlay, s big.Struct) *Scope

func (*Scope) Encode

func (s *Scope) Encode(ctx context.Context, codec big.Codec) error

func (*Scope) Fields

func (s *Scope) Fields() big.Fields

Jump to

Keyboard shortcuts

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