Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Service ¶
type Service interface { GetUser(int64) (*users.User, rest_errors.RestErr) CreateUser(users.User) (*users.User, rest_errors.RestErr) //UpdateUser(bool, users.User) (*users.User, rest_errors.RestErr) //DeleteUser(int64) rest_errors.RestErr //SearchUser(string) (users.Users, rest_errors.RestErr) LoginUser(users.LoginRequest) (*access_token.AccessToken, rest_errors.RestErr) Logout(int64, int64) rest_errors.RestErr Refresh(int64, int64) (*access_token.AccessToken, rest_errors.RestErr) }
func NewService ¶
func NewService(usersRepo rest.RestUsersRepository, dbRepo db.DbRepository) Service
Click to show internal directories.
Click to hide internal directories.