Documentation ¶
Index ¶
- type FireStore
- func (fs *FireStore) Apply(f ItemHandler) error
- func (fs *FireStore) Close()
- func (fs *FireStore) Delete(id ID) error
- func (fs *FireStore) List() ([]ID, error)
- func (fs *FireStore) Options(opts ...Option)
- func (fs *FireStore) Retrieve(id ID) (Storable, error)
- func (fs *FireStore) StoreItem(id ID, obj Storable) error
- type Marshaler
- type Option
- type UnMarshaler
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type FireStore ¶
type FireStore struct {
// contains filtered or unexported fields
}
func NewFireStore ¶
type Option ¶
type Option func(*FireStore)
func OptCollection ¶
func OptMarshaler ¶
func OptUnMarshaler ¶
func OptUnMarshaler(u UnMarshaler) Option
type UnMarshaler ¶
type UnMarshaler func(interface{}) (Storable, error)
Click to show internal directories.
Click to hide internal directories.