It should be OK. Just relax. This might happen sometimes. Dog saliva could be a kind of antiseptic. Dogs usually lick their wounds to speed up heals. A kind of enzymes is found in mammalian saliva which could help heals. If it makes you feel sick, go to wash your eyes with running water would be enough. If, just in case, the dog is sick, and you develop some symptoms as feeling sick and fever, you should go to hospital to take a check. Normally, it is not dangerous. Don't need to worry too much.
Are you kidding? How could you be so careless to have let that dirty thing into your eyes, which is very precious. Anyway, as you can see, if the dog is not very healthy, your eyes might be seriously infected, since there is some bateria in the saliva. So, my advice for you is to flush your eyes with salty water and take an eye exam as soon as possible and take some immediate measures before it goes serious.
If the amount of the dog saliva in your eyes is little, it will be OK. It is not dangerous. But for the sake of hygiene, you'd better go to wash the eyes with clean water carefully. Then you could use the eye drops with anti-inflammation role to make your eyes look clear. In addition, you could also use the warm compress method to make your eyes feel comfortable.