There are many ways to say good night to your long distance boyfriend. You could start by telling him how much you love and miss him. Thank him for being in your life and let him know what an amazing man he is!
Whatever you do make sure your good night message is sincere and makes him feel loved.
Your boyfriend will no doubt appreciate the thoughtfulness and effort you put into saying good night.