Sorry to read that you are going through a rough patch. Feelings of isolation within a relationship are indeed distressful. So well done for reaching out. That's what these forums are for.
Quite a few men prefer to process issues on their own before they can discuss them with anyone else. However, denying you a cuddle -as never noticing your depression- shows some degree of insensitivity to your needs. You did the right, courageous thing by coming clean. Living a lie is never a viable option within a close relationship. There is nothing more you can do. You have bravely done your bit, regardless of consequences. As Paul so rightly pointed out, your husband's reaction is his problem, sad as it may be.
Many people don't know much about depression. It is often swept under the carpet. I hope that somewhere along the line, your husband will be offered the opportunity to learn about how it affects sufferers and what he could do to help ease the pain. When too close to the bone, this info is usually better accepted if it comes from a knowledgeable outsider (GP or therapist).
I hope you can soon put the endometriosis problem behind you. You don't need this extra pain and stress.
Home schooling is a challenge too. You're doing a great job of keeping it all together. Please remember to take good care of yourself. We are often our harshest critics. Superwoman may be attractive...she is also an unattainable fantasy.
When support and understanding are not available on the home front, we can't be there with you but will be here for you when needed.