Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Database ¶
type Database struct {
// contains filtered or unexported fields
}
func NewDatabase ¶
type DatabaseData ¶
type FirestoreSessionData ¶ added in v1.4.2
type SessionStorage ¶ added in v1.4.2
type SessionStorage struct {
// contains filtered or unexported fields
}
func NewSessionStorage ¶ added in v1.4.2
func NewSessionStorage(client *firestore.Client, collection string) *SessionStorage
func (*SessionStorage) Delete ¶ added in v1.4.2
func (s *SessionStorage) Delete(ctx context.Context, id string) error
func (*SessionStorage) Get ¶ added in v1.4.2
func (s *SessionStorage) Get(ctx context.Context, id string) (contracts.SessionData, error)
func (*SessionStorage) Save ¶ added in v1.4.2
func (s *SessionStorage) Save(ctx context.Context, data contracts.SessionData) error
Click to show internal directories.
Click to hide internal directories.