server side of slot in golang