Documentation ¶
Index ¶
- type Session
- func (s *Session) Delete(ctx context.Context, id string, condition *request.Condition) (bool, error)
- func (s *Session) Destroy(ctx context.Context, id string, condition *request.Condition) (bool, error)
- func (s *Session) EnsureIndexes() error
- func (s *Session) Get(ctx context.Context, id string, condition *request.Condition) (*user.User, error)
- type Store
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Session ¶
type Session struct {
*storeStructuredMongo.Session
}
func (*Session) EnsureIndexes ¶
type Store ¶
type Store struct {
*storeStructuredMongo.Store
}
func (*Store) EnsureIndexes ¶
func (*Store) NewSession ¶
func (s *Store) NewSession() userStoreStructured.Session
Click to show internal directories.
Click to hide internal directories.