// SetKeepAlivePeriod sets keepalive period func (l *keepAliveConn) SetKeepAlivePeriod(d time.Duration) error { … }