I have code (I use https://github.com/fiorix/go-smpp):
// ----------------------------------------------- // handleConnection new clients. // ----------------