Rhys only has "eye boogers" in the morning. One time, however, he had horrible eye gunk that would build up periodically during the day...I took him to the vet (he was also reverse sneezing a lot) and we found out that he had a doggy "cold"!
Two weeks of antibiotics cleared it up, though.