Insecure Boyfriend

So my boyfriend doesn't allow me to have any male friends whatsoever. Most of my friends were guys but they were guys I have known since sandbox days. When I reached out to one of them he got mad as if I had broken a godly rule. He has female friends and when I tell him he's being a hypocrite he says its different. I mean he's my child father and all but I'm getting tired of dealing with his crap he has done more things which I will reveal in another post because I'm pressed for time right now. Some things he has done recently and I'm quite ashamed to even type it but I think the relationship is just about over