Versions in this module Expand all Collapse all v0 v0.1.1 Jul 11, 2025 v0.1.0 Jun 28, 2025 Changes in this version + type AuthHandler struct + func NewAuthHandler(db *gorm.DB, rdb redis.UniversalClient) *AuthHandler + func (h *AuthHandler) GetOAuthCodeURL(ctx context.Context, req *userpb.GetOAuthCodeURLRequest) (*userpb.GetOAuthCodeURLResponse, error) + func (h *AuthHandler) GetUserToken(ctx context.Context, req *userpb.GetUserTokenRequest) (*userpb.UserToken, error) + func (h *AuthHandler) LoginByOAuth(ctx context.Context, req *userpb.LoginByOAuthRequest) (*userpb.LoginSession, error) + func (h *AuthHandler) LoginByPassword(ctx context.Context, req *userpb.LoginByPasswordRequest) (*userpb.LoginSession, error) + type UserHandler struct + func NewUserHandler(userService service.UserService) *UserHandler + func (h *UserHandler) CreateUser(ctx context.Context, req *userpb.CreateUserRequest) (*emptypb.Empty, error) + func (h *UserHandler) DeleteUser(ctx context.Context, req *userpb.DeleteUserRequest) (*emptypb.Empty, error) + func (h *UserHandler) GetCurrentUser(ctx context.Context, req *emptypb.Empty) (*userpb.User, error) + func (h *UserHandler) GetUser(ctx context.Context, req *userpb.GetUserRequest) (*userpb.User, error) + func (h *UserHandler) ListUsers(ctx context.Context, req *userpb.ListUsersRequest) (*userpb.ListUsersResponse, error) + func (h *UserHandler) UpdateUser(ctx context.Context, req *userpb.UpdateUserRequest) (*emptypb.Empty, error)