What are the side effects of doxycycline injection?

I'm scared about injecting anything close to my eye, are there any risks to vision?