Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type UserService ¶
type UserService struct {
// contains filtered or unexported fields
}
func New ¶
func New(filepath string, config model.UserConfig) (*UserService, error)
func (*UserService) FindByUserIdAndToken ¶
func (s *UserService) FindByUserIdAndToken(id, token string) (model.User, error)
func (*UserService) FindByUsername ¶
func (s *UserService) FindByUsername(name string) (model.User, error)
Click to show internal directories.
Click to hide internal directories.