firestore_service

package
v0.2.1 Latest Latest
Warning

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

Go to latest
Published: Jul 15, 2021 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func New

func New() (sdk.KeyValueService, error)

func NewWithClient

func NewWithClient(client *firestore.Client) (sdk.KeyValueService, error)

Types

type FirestoreKVService

type FirestoreKVService struct {
	sdk.UnimplementedKeyValuePlugin
	// contains filtered or unexported fields
}

func (*FirestoreKVService) Delete

func (s *FirestoreKVService) Delete(collection string, key string) error

func (*FirestoreKVService) Get

func (s *FirestoreKVService) Get(collection string, key string) (map[string]interface{}, error)

func (*FirestoreKVService) Put

func (s *FirestoreKVService) Put(collection string, key string, value map[string]interface{}) error

Jump to

Keyboard shortcuts

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