I'll contribute because I searched for boundaries and hadn't seen anyone suggest them yet.

If it were me, I would set some boundaries and move on. Learn from the lesson that you probably looked at yourself as 'less than' which is why you may have gotten involved with a person that you presumably loved and presumably loved you and yet was at the same time willing to do this to you and you were also willing to allow it to happen and then did not do anything to move on immediately once you realized that their devotion or love wasn't as genuine or serious as you originally were led to believe. Maybe you were being naive and ignoring red flags. Maybe he isn't totally to blame but you are partially to blame for accepting something like that in your life--such low standards. Low self esteem. It's hard for someone with a decent self esteem to not be able to see this stuff, but I would put money down that you probably suffer from a low self esteem which is how you got here in the first place.

If I had found out that someone was genuinely ghosting me, because I think I'm worthy of a certain minimum amount of decency and mutual respect, I would therefore have (as soon as I was making honest attempts which were not being reciprocated) immediately moved on and never looked back. The only reason a person sits around and mopes around or doesn't move on from a disrespectful person like your boyfriend is because they don't think they're worth anything better. If you genuinely believed you were worth at least a certain minimum (eg, "When I reach out to people, I expect them to reach back out to me out of common decency within a reasonable amount of time and with receptions for unusual events. I expect special people to behave at least that good if not better because of our special, unique relationship"), then as soon as you saw this behavior you would move on just out of self respect to all the other options you have waiting for you. A person with a certain minimum of self esteem realizes there are more options for you and therefore shouldn't waste time with losers (people who don't know what they want and therefore waste other people's time). It's like business. Do you get offended when you run into a restaurant that is low quality and poor service? Most people don't. They don't sit down or get up and leave if it's bad enough and never take it personal. It's the restaurant that doesn't have their act together, it's not that your standards are unreasonable. It's that they're kinda dysfunctional (like all the restaurants on Gordon Ramsey, that eventually shut down). That isn't the fault of the customer, it's the fault of the establishment that they can't keep customers happy and enjoy lots of business.

Just flip the tables to figure out if his behavior was unreasonable or if you're being unreasonable. Would you want to be treated the way your boyfriend treated you? No. Do you treat him like that? Probably not. Why shouldn't you expect the same from him? If he can't meet that, then why are you with him? Why haven't you moved on already?

He's a poor person that doesn't understand respect. He might be in a tough or bad place (lots of temptation, confusion, not sure of his goals, dreams, values, etc), which is all fine, but he can figure that out without you. To drag you into his mess is disrespectful to you and you coming along for the ride and jumping in the pigs pen is a disrespect to yourself. You don't have to drag yourself through that while he figures himself out in the mean time.

Have a little dignity. Set some boundaries and move on. If he wants back in, I would tell him no. Why? Because he disrespected you (not to even mention the cheating). Value yourself and move on. It's not like you have no other options. We all have options! And typically we have much better options but we're unaware due to our low self esteem and other personal issues. Whatever you do, do not let this person back into your life--that is unless you want more of the same.

Any reasonable person with a keen sense of self and dignity and self respect would agree. Female or male. Doesn't matter the gender or role or length of relationship. This stuff is fundamental and basic to any respectful, healthy, cooperative relationship. 

Figure out how you decided to get involved with people like this in the first place, and you'll solve your problem for good and won't end up here again. Lesson learned. Move on. 

Hope that helps.

All the best.