Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Credential ¶
type Credential interface { }
type User ¶
type User interface {
UserIdentifier() UserIdentifier
}
type UserIdentifier ¶
type UserIdentifier struct {
// contains filtered or unexported fields
}
func Identifier ¶
func Identifier(v interface{}) UserIdentifier
func (UserIdentifier) Int64 ¶
func (id UserIdentifier) Int64() int64
func (UserIdentifier) String ¶
func (id UserIdentifier) String() string
func (UserIdentifier) Value ¶
func (id UserIdentifier) Value() interface{}
type UserProvider ¶
type UserProvider interface {
FindUserById(UserIdentifier) (User, error)
}
Click to show internal directories.
Click to hide internal directories.