data

package
v0.0.0-...-8f66fda Latest Latest
Warning

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

Go to latest
Published: Mar 26, 2024 License: Apache-2.0 Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var MaxResultsDefault = 100

Functions

This section is empty.

Types

type BaseQueryable

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

func (*BaseQueryable) Items

func (b *BaseQueryable) Items() []interface{}

func (*BaseQueryable) MaximumPageSize

func (b *BaseQueryable) MaximumPageSize() int

func (*BaseQueryable) NextPageToken

func (b *BaseQueryable) NextPageToken() *string

func (*BaseQueryable) SetItems

func (b *BaseQueryable) SetItems(items []interface{})

func (*BaseQueryable) SetNextPageToken

func (b *BaseQueryable) SetNextPageToken(nextToken *string)

type Persistable

type Persistable interface {
	TypeName() string
	NewQueryable() Queryable
}

type QueryTypes

type QueryTypes uint16
const (
	EQ QueryTypes = iota + 1
)

type Queryable

type Queryable interface {
	TypeNames() []string
	TypeOf(interface{}) string
	Items() []interface{}
	SetItems([]interface{})
	NextPageToken() *string
	SetNextPageToken(*string)
	MaximumPageSize() int
}

type Store

type Store interface {
	Create(p Persistable) gomerr.Gomerr
	Read(p Persistable) gomerr.Gomerr
	Update(p Persistable, update Persistable) gomerr.Gomerr
	Delete(p Persistable) gomerr.Gomerr
	Query(q Queryable) gomerr.Gomerr
}

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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