datastore

package
v0.0.0-...-35e313c Latest Latest
Warning

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

Go to latest
Published: Nov 30, 2020 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type DataStore

type DataStore struct {
	Now time.Time

	Database db.Session
	// contains filtered or unexported fields
}

DataStore #

func New

func New() DataStore

New #

func (*DataStore) Check

func (DS *DataStore) Check(key string) bool

Check #

func (*DataStore) CheckContainer

func (DS *DataStore) CheckContainer() bool

func (*DataStore) CheckField

func (DS *DataStore) CheckField() bool

func (*DataStore) CheckFields

func (DS *DataStore) CheckFields() bool

func (*DataStore) Container

func (DS *DataStore) Container() interface{}

Container #

func (*DataStore) ContainerObjectRef

func (DS *DataStore) ContainerObjectRef() interface{}

func (*DataStore) Context

func (DS *DataStore) Context() context.Context

func (*DataStore) DB

func (DS *DataStore) DB() db.Session

func (*DataStore) Field

func (DS *DataStore) Field() interface{}

func (*DataStore) Fields

func (DS *DataStore) Fields() interface{}

func (*DataStore) Get

func (DS *DataStore) Get(key string) interface{}

Get #

func (*DataStore) New

func (DS *DataStore) New(database db.Session) DataStore

func (*DataStore) Org

func (DS *DataStore) Org() interface{}

func (*DataStore) Req

func (DS *DataStore) Req() *http.Request

func (*DataStore) Set

func (DS *DataStore) Set(key string, value interface{})

Set #

func (*DataStore) SetContainer

func (DS *DataStore) SetContainer(container interface{})

SetContainer #

func (*DataStore) SetContainerObjectRef

func (DS *DataStore) SetContainerObjectRef(cor interface{})

func (*DataStore) SetDB

func (DS *DataStore) SetDB(DB db.Session)

func (*DataStore) SetField

func (DS *DataStore) SetField(field interface{})

func (*DataStore) SetFields

func (DS *DataStore) SetFields(fields interface{})

func (*DataStore) SetOrg

func (DS *DataStore) SetOrg(org interface{})

func (*DataStore) SetReq

func (DS *DataStore) SetReq(req *http.Request)

func (*DataStore) SetUser

func (DS *DataStore) SetUser(user interface{})

func (*DataStore) Tx

func (DS *DataStore) Tx(fn func(DS *DataStore) error) error

func (*DataStore) User

func (DS *DataStore) User() interface{}

Jump to

Keyboard shortcuts

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