Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MongoUserStore ¶
type MongoUserStore struct {
// contains filtered or unexported fields
}
func NewMongoUserStore ¶
func NewMongoUserStore(url string) *MongoUserStore
NewMongoUserStore returns an unconnected MongoUserStore that satisfies the UserStore interface. You must call Connect() on the returned store before using it.
func (*MongoUserStore) Connect ¶
func (m *MongoUserStore) Connect() error
func (*MongoUserStore) Get ¶
func (m *MongoUserStore) Get(id, provider string) (*user.User, error)
Get returns a user from the Mongo Store
Click to show internal directories.
Click to hide internal directories.