Documentation
¶
Overview ¶
Package user implements basic user and group persistence layer.
It is currently backed by a MySQL db.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type DAO ¶
type DAO interface {
resources.DAO
index.DAO
// Add creates or updates a user in the underlying repository.
// It returns the resulting user, a true flag in case of an update
// of an existing user and/or an error is something went wrong.
Add(interface{}) (interface{}, bool, error)
Del(sql.Enquirer) (numRows int64, e error)
Search(sql.Enquirer, *[]interface{}, ...bool) error
Count(sql.Enquirer) (int, error)
Bind(userName string, password string) (*idm.User, error)
}
DAO interface
Source Files
¶
- converter.go
- dao.go
- sql.go
Directories
¶
| Path | Synopsis |
|---|---|
|
Package grpc provides the gRPC service to communicate with the Pydio's user persistence layer.
|
Package grpc provides the gRPC service to communicate with the Pydio's user persistence layer. |
|
Package rest provides a gateway to the underlying grpc service
|
Package rest provides a gateway to the underlying grpc service |
Click to show internal directories.
Click to hide internal directories.