Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Cache ¶
type Cache struct {
// contains filtered or unexported fields
}
Cache describe the cache client
type CacheInterface ¶
type CacheInterface interface {
Get(key string) (interface{}, bool)
Set(key string, data interface{})
}
CacheInterface describe a cache client interface
type FirestoreClient ¶
type FirestoreClient struct {
// contains filtered or unexported fields
}
FirestoreClient describe a Google Cloud Firestore Client
func NewFirestoreClient ¶
func NewFirestoreClient() (*FirestoreClient, error)
NewFirestoreClient declare a new Firestore Client
func (*FirestoreClient) GetUsers ¶
func (s *FirestoreClient) GetUsers() (Users, error)
GetUsers return all saved users in database
Click to show internal directories.
Click to hide internal directories.